Herewith I'd like to share important information with you. IT department was working on some slurm jobs issue and discovered that one needs to be aware of how java is handling "tmp" folder.

 

Java is only honoring the $TMP environment variable on windows. On Linux Java is using a hardcoded "/tmp" when creating temporary file objects.

 

It seems that the workaround for this is to set the java.io.tmp property of the JVM to the content of $TEMPDIR environment variable at startup like this:

 

    java -Djava.io.tmpdir="$TEMPDIR" ...

 

For further information see this stackoverflow thread:

 

https://stackoverflow.com/questions/1924136/environment-variable-to-control-java-io-tmpdir

 

Thanks for your attention

 

-- 

Slave Trajanoski, Phd

Senior Scientist Bioinformatics

CF Computational Bioanalytics, Center for medical research

Medical University Graz

Neue Stiftingtalstraße 6-West, Turm/Stiege:P, 4.Stock

8010 Graz

Tel. +43 316 385 73024

E-Mail: slave.trajanoski@medunigraz.at