<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.E-mailStlus18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=HU link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>Hi April,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>We have recently released </span><a href="https://zenodo.org/record/6047630">automaticanalysis 5.8.0</a>, a MATLAB-based pipeline for neuroimaging including xMRI and M/EEG.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I support the compilation and execution of workflows on various scheduled clusters, including SoGE, SLURM, Torque, and LSF. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please, let me know if you would like to learn more about it. <span lang=EN-GB style='mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>Kind regards,<o:p></o:p></span></p><div><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>Tibor <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='color:#222A35;mso-fareast-language:EN-GB'>Auer, Tibor M.D. Ph.D.<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='color:#0066FF;mso-fareast-language:EN-GB'>Research Fellow<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='color:#0066FF;mso-fareast-language:EN-GB'>School of Psychology, Faculty of Health and Medical Sciences</span></b><span style='color:#0066FF;mso-fareast-language:EN-GB'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-GB'>University of Surrey, Guildford GU2 7XH<o:p></o:p></span></p><p class=MsoNormal><a href="mailto:T.Auer@surrey.ac.uk"><span style='color:#0563C1;mso-fareast-language:EN-GB'>T.Auer@surrey.ac.uk</span></a><u><span style='color:#0563C1;mso-fareast-language:EN-GB'><o:p></o:p></span></u></p><p class=MsoNormal><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FTiborAuer&data=02%7C01%7Ct.auer%40surrey.ac.uk%7Cdb32da458c424eedef2908d7d4bd1421%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C0%7C637211780868086968&sdata=zrT5%2FnGGsar14C3WartuU99tzsfLu30Peh9fuaqrAUg%3D&reserved=0"><span style='color:#0563C1;mso-fareast-language:EN-GB'>@TiborAuer</span></a><span lang=EN-GB style='mso-fareast-language:EN-GB'><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> <b>On Behalf Of </b>Schoffelen, J.M. (Jan Mathijs) via fieldtrip<br><b>Sent:</b> Monday, February 14, 2022 7:47 AM<br><b>To:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br><b>Cc:</b> Schoffelen, J.M. (Jan Mathijs) <janmathijs.schoffelen@donders.ru.nl><br><b>Subject:</b> Re: [FieldTrip] Question using fieldtrip on a HPC cluster<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi April, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I am privy to the details of the job management on your HPC cluster, so I can only guess a bit about what’s going on on your end.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>My frame if reference is our local compute cluster. When I send off a matlab job to the cluster, this consists of an instruction to the job scheduler to start a (non-interactive) matlab session on one of the compute nodes, followed by the execution of a few matlab commands, the most relevant of which obviously is the analysis script/function that you want to have executed. Naively, the compute node on which the matlab session is started, does not necessarily ‘know’ about the path settings that the user may assume to have been specified. In other words, you may want to investigate whether this is the case for you. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Again, not inhibited by any knowledge on how you interact with the HPC-cluster, I think you might need to add some addpath(<path-to-fieldtrip>), followed by ft_defaults to you matlab m-file. Also, I would check with your local IT-support to get some idea how the job deployment works at your place. It could even be that the functions in fieldtrip/qsub might be a way forward for you. Please have a look at <a href="https://www.fieldtriptoolbox.org/faq/what_are_the_different_approaches_i_can_take_for_distributed_computing/">https://www.fieldtriptoolbox.org/faq/what_are_the_different_approaches_i_can_take_for_distributed_computing/</a> , <a href="https://www.fieldtriptoolbox.org/faq/how_to_get_started_with_distributed_computing_using_qsub/">https://www.fieldtriptoolbox.org/faq/how_to_get_started_with_distributed_computing_using_qsub/</a> and links therein<o:p></o:p></p></div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best wishes,<o:p></o:p></p></div><div><p class=MsoNormal>Jan-Mathijs<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 12 Feb 2022, at 01:03, April Luo via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hello, <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'm trying to run fieldtrip package on sEEG data on a HPC cluster, but when I was running ft_preprocessing function, it gave an error for ft_preamble init, saying 'Could not run %s - does not seem to exist, full_cmd,' I checked further and it seems like it's looking for ft_preamble_init.m file, I checked to make sure it's under /utilities/private, but it still gave this error. Running on a local matlab works. but I wanted to run on a HPC cluster because of the large datafile. Could you help me solve this issue? Thank you so much!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>My matlab version on both my local computer and HPC cluster is 2021a and my fieldtrip version is 20210501.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best,<o:p></o:p></p></div><div><p class=MsoNormal>April Luo<o:p></o:p></p></div></div><p class=MsoNormal>_______________________________________________<br>fieldtrip mailing list<br><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br><a href="https://urldefense.com/v3/__https:/doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-p_UjC2cVtPAz1G7aUnveOAZ9nB1AC2hVt4uXhzmBZlumXV7jJKoLY0D5_dSOkzr-zZH3l5P7OGKqbKeMNVTD0OHySj0jBuD_D2ehA$">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-p_UjC2cVtPAz1G7aUnveOAZ9nB1AC2hVt4uXhzmBZlumXV7jJKoLY0D5_dSOkzr-zZH3l5P7OGKqbKeMNVTD0OHySj0jBuD_D2ehA$</a> <o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>