Closed ClaudioNahmad closed 1 year ago
Hi Claudio,
Can you try to create the directory with MontePython first (so a log.param is produced), e.g. by running front end with -f 0 with the same param and conf file? Running on clusters it often gets confused otherwise, but if MontePython detects a log.param it should (hopefully) do things correctly. Let me know if that doesn't work, otherwise I have some collaborators who use NERSC who can probably provide best practices tips specific for NERSC, which is a system I'm not familiar with.
Best, Thejs
Hi Thejs,
This worked perfectly, thank you!
Hey, good morning.
I've ran across an issue involving montepython's parallelization. I'm running MP inside the NERSC cluster in which the equivalent of
mpirun
command issrun
. When running the following script:The output is an error. MP seems to create 16 copies of the output directory '../chains/b0b1b2_2023_4_27' and tells me that the directory already exists. It seems like MP is not aware that
srun
is an MPI command and i get 16 copies of the same command :(Is there any way to fix this? is MP only supposed to be run with mpi4py?
Thanks for the time to answer my issue!