-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running example #58
Comments
This is weird, where did you launch the docker container? macos, linux...
Can I see the whole command you launched and the config file please?
Were you able to launch the simple version in the example wiki?
…On Wed, Mar 24, 2021 at 9:37 PM malcolmudeozor ***@***.***> wrote:
Hello! I am getting an error when trying to run the prfsynth image in the
example. I am wondering if i need install a matlab container image inorder
for the docker command to run.
Here is a snapshot of my terminal as I run prfsynth if it helps.
`Setting up environment variables
LD_LIBRARY_PATH is
.:/opt/mcr/v95//runtime/glnxa64:/opt/mcr/v95//bin/glnxa64:/opt/mcr/v95//sys/os/glnxa64:/opt/mcr/v95//sys/opengl/lib/glnxa64
Number of workers:
NumWorkers =
8
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 113)
Parallel pool failed to start with the following error.
Error in pmForwardModelCalculate (line 57)
Error in synthBOLDgenerator (line 184)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line
676)
Failed to initialize the interactive session.
Error using
parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line
790)
The interactive communicating job failed with no message.
parallel:cluster:PoolCreateFailed
real 3m1.451s
user 1m29.344s
sys 1m9.530s
[garikoitz/prfsynth] An error occurred during execution of the Matlab
executable. Exiting!
`
I'm not sure if this is sufficient info to solve my problem but anything
will help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#58>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAV3RLKT3FNUXHKZKZBLTFJEO3ANCNFSM4ZYA6GJA>
.
|
Hi! Thanks for such a speedy response. I am launching docker from terminal on my mac. Also, I am using zsh. What I am trying to do is the simple wiki example actually. Here is the entire command with the resulting error. I have also attached the config file as .txt file. When i run the docker command however, i use the json version of that file prfsynth_sub-001_sess-20200320 copy.txt (base) homeDir / % docker run --rm -it
|
so you run it once already and it created the json file and now you are
running it to generate the synthetic files?
Do you have write access to $basedir?
and just in case can you change to bash just for the test? I have no idea
if there is any relation... I can't remember any errors with the parallel
toolbox so I just want to eliminate the most common causes...
…On Thu, Mar 25, 2021 at 7:49 PM malcolmudeozor ***@***.***> wrote:
Hi! Thanks for such a speedy response. I am launching docker from terminal
on my mac. Also, I am using zsh.
What I am trying to do is the simple wiki example actually. I think that
the error may have something to do with me having restricted access to
certain directories on my work computer
Here is the entire command with the resulting error. I have also attached
the config file as .txt file. When i run the docker command however, i use
the json version of that file
prfsynth_sub-001_sess-20200320 copy.txt
<https://github.com/vistalab/PRFmodel/files/6207120/prfsynth_sub-001_sess-20200320.copy.txt>
(base) homeDir / % docker run --rm -it
-v
$basedir/prfsynth_sub-001_sess-20200320.json:/flywheel/v0/input/config.json
-v $basedir:/flywheel/v0/output
garikoitz/prfsynth
[garikoitz/prfsynth] Initialized.
[garikoitz/prfsynth] See detailed usage here:
https://github.com/vistalab/PRFmodel/wiki/prf-Synthesize:-how-to-edit-json-file Setting
up environment variables
LD_LIBRARY_PATH is
.:/opt/mcr/v95//runtime/glnxa64:/opt/mcr/v95//bin/glnxa64:/opt/mcr/v95//sys/os/glnxa64:/opt/mcr/v95//sys/opengl/lib/glnxa64
Number of workers:
NumWorkers =
8
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 113)
Parallel pool failed to start with the following error.
Error in pmForwardModelCalculate (line 57)
Error in synthBOLDgenerator (line 184)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line
676)
Failed to initialize the interactive session.
Error using
parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line
790)
The interactive communicating job failed with no message.
parallel:cluster:PoolCreateFailed
real 3m28.087s
user 1m32.405s
sys 2m58.570s
[garikoitz/prfsynth] An error occurred during execution of the Matlab
executable. Exiting!
(base) ***@***.*** / %
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAVYGPD4KWJU26633JQDTFOATHANCNFSM4ZYA6GJA>
.
|
You're exactly right. I ran it to create the initial json and it worked fine. After that i followed the steps in the wiki to edit the name of the file and edit its contents. I do indeed have write access to basedir. Also, I tried running the command with bash and got the same error. Are there any specific Matlab requirements? On my machine, I have only the newest version of matlab (including the parallel toolbox). Do you think there could there be a problem with the version i have? Lastly, thank you very much for taking time out to help me solve my problem. I am pretty sure the error is coming from my end, so i really appreciate your help. |
hmmmm I am not sure... Matlab should be self contained...
Can you send me the exact sequence of commands you are launching, even the
installation of the docker container part, and maybe and can replicate it...
…On Mon, Mar 29, 2021 at 8:39 PM malcolmudeozor ***@***.***> wrote:
You're exactly right. I ran it to create the initial json and it worked
fine. After that i followed the steps in the wiki to edit the name of the
file and edit its contents. I do indeed have write access to basedir. Also,
I tried running the command with bash and got the same error.
Are there any specific Matlab requirements? On my machine, I have only the
newest version of matlab (including the parallel toolbox). Do you think
there could there be a problem with the version i have?
Lastly, thank you very much for taking time out to help me solve my
problem. I am pretty sure the error is coming from my end, so i really
appreciate your help.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAVZ6ZF2PMCDG67SSDALTGDCN7ANCNFSM4ZYA6GJA>
.
|
I am attaching a text file with the exact order of commands that I ran. Ofc, you will need to edit the file to put in your respective username and edit the json like you explained in the example. |
just in case, can you write `docker images` in your command line so that I
can see the versions?
the one that it is failing is the prfsynth one, right?
…On Mon, Mar 29, 2021 at 9:53 PM malcolmudeozor ***@***.***> wrote:
I am attaching a text file with the exact order of commands that I ran.
Ofc, you will need to edit the file to put in your respective username and
edit the json like you explained in the example.
dockerCommands copy.txt
<https://github.com/vistalab/PRFmodel/files/6224177/dockerCommands.copy.txt>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAV5DPZX23CDQFW233N3TGDLDVANCNFSM4ZYA6GJA>
.
|
yes, that is the one that is failing. |
ok, just in case, can you do
docker pull garikoitz/prfsynth:2.0.0
instead and test it again?
When you run it, add the tag 2.0.0 as well, as in:
docker run --rm -it \
-v
$basedir/prfsynth_sub-001_sess-20200320.json:/flywheel/v0/input/config.json
\
-v $basedir:/flywheel/v0/output \
garikoitz/prfsynth:2.0.0
…On Mon, Mar 29, 2021 at 10:08 PM malcolmudeozor ***@***.***> wrote:
yes, that is the one that is failing.
dockerImagesVersions.txt
<https://github.com/vistalab/PRFmodel/files/6224254/dockerImagesVersions.txt>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAV3VISMGARYBDOVB4LDTGDM3HANCNFSM4ZYA6GJA>
.
|
Got the same error unfortunately. I also see that both prfsynth versions have the exact same image ID; im not sure if you expected that or not. Did my series of commands look correct in the txt file that I sent? Also, I am not in a huge rush to figure this out, so please do not let me absorb too much of your time. |
no worries
no, I don't have the same id...
I'll check both versions just in case and let you know!
…On Mon, Mar 29, 2021 at 10:29 PM malcolmudeozor ***@***.***> wrote:
Got the same error unfortunately. I also see that both prfsynth versions
have the exact same image ID; im not sure if you expected that or not. Did
my series of commands look correct in the txt file that I sent?
Also, I am not in a huge rush to figure this out, so please do not let me
absorb too much of your time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAV3WVXSAC5U77KWRVNTTGDPJXANCNFSM4ZYA6GJA>
.
|
Great! thanks for being so helpful. |
I tested in a Linux server and in my macos laptop, and it is working fine
(see output at the end of the email).
Can you test without the parallel toolbox please?
in the config file, there is one option calle useparallel, set it to false
and see if it works please...
thanks!
Gari
(base) glerma@MBP16:~:$
# mkdir /Users/glerma/Desktop/testDocker
(base) glerma@MBP16:~:$
# export basedir=/Users/glerma/Desktop/testDocker
(base) glerma@MBP16:~:$
# cd $basedir
(base) glerma@MBP16:~/Desktop/testDocker:$
# docker run --rm -it \
-v empty:/flywheel/v0/input/config.json \
-v $basedir:/flywheel/v0/output \
garikoitz/prfsynth
[garikoitz/prfsynth] Initialized.
[garikoitz/prfsynth] See detailed usage here:
https://github.com/vistalab/PRFmodel/wiki/prf-Synthesize:-how-to-edit-json-file
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is
.:/opt/mcr/v95//runtime/glnxa64:/opt/mcr/v95//bin/glnxa64:/opt/mcr/v95//sys/os/glnxa64:/opt/mcr/v95//sys/opengl/lib/glnxa64
prfsynth-config-defaults.json written, edit it and pass it to the container
to generate synthetic data.
real 0m13.191s
user 0m8.328s
sys 0m1.272s
[garikoitz/prfsynth] No results found in output directory... Exiting
(base) glerma@MBP16:~/Desktop/testDocker:$
# mv $basedir/prfsynth-config-defaults.json
$basedir/prfsynth_sub-001_sess-20200320.json
(base) glerma@MBP16:~/Desktop/testDocker:$
# docker run --rm -it \
-v
$basedir/prfsynth_sub-001_sess-20200320.json:/flywheel/v0/input/config.json
\
-v $basedir:/flywheel/v0/output \
garikoitz/prfsynth
[garikoitz/prfsynth] Initialized.
[garikoitz/prfsynth] See detailed usage here:
https://github.com/vistalab/PRFmodel/wiki/prf-Synthesize:-how-to-edit-json-file
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is
.:/opt/mcr/v95//runtime/glnxa64:/opt/mcr/v95//bin/glnxa64:/opt/mcr/v95//sys/os/glnxa64:/opt/mcr/v95//sys/opengl/lib/glnxa64
Number of workers:
NumWorkers =
6
Starting parallel pool (parpool) using the 'local' profile ...
connected to 6 workers.
There are 2 voxels
Elapsed time is 3.350839 seconds.
The parfor par has been finished
Close parpool
Parallel pool using the 'local' profile is shutting down.
Concatenating the nifti and json files back
real 0m37.088s
user 1m14.683s
sys 0m7.442s
[garikoitz/prfsynth] Making BIDS directory: /flywheel/v0/output/BIDS
[garikoitz/prfsynth] Available synth datasets:
/flywheel/v0/output/editDefaultSubjectName_editDefaultSessionName/editDefaultSubjectName_Stim.nii.gz
[garikoitz/prfsynth] BIDS-ifying Dataset editDefaultSubjectName
(editDefaultSessionName)...
[garikoitz/prfsynth] [garikoitz/prfsynth] Done!
(base) glerma@MBP16:~/Desktop/testDocker:$
…On Mon, Mar 29, 2021 at 10:49 PM malcolmudeozor ***@***.***> wrote:
Great! thanks for being so helpful.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAVY7ZVETADZISXD3OQ3TGDRVDANCNFSM4ZYA6GJA>
.
|
Turning off parallel toolbox worked! Thanks so much! Let me know when you see this message so i can go ahead and close the issue. |
Yeah... the thing is that it should work with parallel toolbox, where you
able to run anything else with it?
…On Mon, 5 Apr 2021 at 19:20, malcolmudeozor ***@***.***> wrote:
Turning off parallel toolbox worked! Thanks so much! Let me know when you
see this message so i can go ahead and close the issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAV4SXPQREFUBDKCBFETTHHWPNANCNFSM4ZYA6GJA>
.
|
I haven't tried yet. My goal is to finish running the example and then run real data for my PI. I can let you know what happens then. I will also turn parallel toolbox back on when running analyze and report to see if it works there and let you know. |
Check why there is no output for aPRF, but for two voxels with mid noise,
it is perfectly possible to obtain the results on the right...
The black line is the 95% ellipse covering the centers of the results, this
is why it looks like a line, maybe you can add more than two voxels and you
will see it better.
…On Thu, Apr 8, 2021 at 5:27 PM malcolmudeozor ***@***.***> wrote:
Hello! So I was able to successfully run both analyze and report and
report containers. I first ran analyze-vista which worked fine. then i ran
analyze-aprf (which used parallel toolbox) and it worked fine as well. This
leads me to believe that my synth container specifically is not working
correctly when prarallel toolbox is on. Lastly, my output files look a bit
wonky. Again, it seems like this problem is deriving from the synth module
(Id: d9b64480cf1e)
[image: CloudPlots_4x4_Noise_mid]
<https://user-images.githubusercontent.com/65089056/114053882-575c9d80-985d-11eb-96dd-c469daa38a21.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAV4D5P43AA2NRX7JURLTHXDOFANCNFSM4ZYA6GJA>
.
|
Hello, Im just looking at this again, and I do get data for aprf as the tool with vista_twogammas as the HRF. Its just that i dont get data for conical HRF for either vista or aprf. I checked the synth json and HRF "type" only contains "vista_two gammas". Not sure why PRFreport printed a graph for canonical HRF at all. Does this still sound unusual? |
you mean canonical? Do you have any logs?
…On Mon, Apr 12, 2021 at 6:59 PM malcolmudeozor ***@***.***> wrote:
Hello, Im just looking at this again, and I do get data for aprf as the
tool with vista_twogammas as the HRF. Its just that i dont get data for
conical HRF for either vista or aprf. Does this still sound unusual?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCZAV2HF7JR3JRRUKOHIOTTIMRHBANCNFSM4ZYA6GJA>
.
|
i Am struggling to execute and i get LD_LIBRARY_PATH is .:/opt/mcr/v95//runtime/glnxa64:/opt/mcr/v95//bin/glnxa64:/opt/mcr/v95//sys/os/glnxa64:/opt/mcr/v95//sys/opengl/lib/glnxa64 real 0m22.111s |
Hello! I am getting an error when trying to run the prfsynth image in the example. I am wondering if i need install a matlab container image inorder for the docker command to run properly.
Here is a snapshot of my terminal as I run prfsynth if it helps.
`Setting up environment variables
LD_LIBRARY_PATH is .:/opt/mcr/v95//runtime/glnxa64:/opt/mcr/v95//bin/glnxa64:/opt/mcr/v95//sys/os/glnxa64:/opt/mcr/v95//sys/opengl/lib/glnxa64
Number of workers:
NumWorkers =
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 113)
Parallel pool failed to start with the following error.
Error in pmForwardModelCalculate (line 57)
Error in synthBOLDgenerator (line 184)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 676)
Failed to initialize the interactive session.
Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line 790)
The interactive communicating job failed with no message.
parallel:cluster:PoolCreateFailed
real 3m1.451s
user 1m29.344s
sys 1m9.530s
[garikoitz/prfsynth] An error occurred during execution of the Matlab executable. Exiting!
`
I'm not sure if this is sufficient info to solve my problem but anything will help.
The text was updated successfully, but these errors were encountered: