rnajena / poseidon

PoSeiDon: positive selection detection and recombination analysis pipeline
MIT License
35 stars 10 forks source link

GARD process fails if temp dir path for MPI is too long #31

Open fischer-hub opened 2 years ago

fischer-hub commented 2 years ago

Just ran into this issue while running with singularity on an HPC:

PMIx has detected a temporary directory name that results
in a path that is too long for the Unix domain socket:

    Temp dir: /data/scratch2/fisched99/poseidon_wd/77/dbac715a7aa899f39937e7064d2a33/openmpi-sessions-326421@cmp216_0/46869

Try setting your TMPDIR environmental variable to point to
something shorter in length

Currently TMPDIR is set to ${PWD}, maybe we can change it to point to /tmp or something else to shorten the path. Although this probably doesn't happen to often, especially in local runs.

hoelzer commented 2 years ago

I am not sure if there was a reason I set this to $PWD... could be that an absolute path is needed but then you are also right, that smt like /tmp would also work.

mchaisso commented 2 years ago

Yeah, same issue - it's in unix and not poseidon, so I think you have to run in /tmp

fischer-hub commented 2 years ago

Yeah, same issue - it's in unix and not poseidon, so I think you have to run in /tmp

You can try to run on branch gard_hpc_issues, this should fix the GARD_detect issues on HPC.