-
Notifications
You must be signed in to change notification settings - Fork 16
Description
I got the attached error in my psflow_task_logs folder and could trace it back to a lo of mytmpdir.XXXXXXXXXX being created and not deleted. In this line, it is hardcoded, so that it cant be overwritten by setting TMPDIR.
The file, where it is set is here psiflow/utils/init.py - Is it possible to make it read custom TMPDIR?
--> executable follows <-- tmpdir=$(mktemp -d -p /tmp "mytmpdir.XXXXXXXXXX" || mktemp -d -t "mytmpdir.XXXXXXXXXX") && cd $tmpdir; echo "tmpdir: $PWD" && cp /vast.mnt/project/phys-20225982/PbI2_layer_DMF_psiflow/psiflow_internal/context_dir/cp2k_000000.inp cp2k.inp && { timeout -s 9 16200.0s apptainer exec -e --no-init oras://ghcr.io/molmod/cp2k:2024.1 /opt/entry.sh mpirun -np 64 cp2k.psmp -i cp2k.inp; exit 0; } --> end executable <-- cp: error writing 'cp2k.inp': No space left on device --> executable follows <-- tmpdir=$(mktemp -d -p /tmp "mytmpdir.XXXXXXXXXX" || mktemp -d -t "mytmpdir.XXXXXXXXXX") && cd $tmpdir; echo "tmpdir: $PWD" && cp /vast.mnt/project/phys-20225982/PbI2_layer_DMF_psiflow/psiflow_internal/context_dir/cp2k_000000.inp cp2k.inp && { timeout -s 9 16200.0s apptainer exec -e --no-init oras://ghcr.io/molmod/cp2k:2024.1 /opt/entry.sh mpirun -np 64 cp2k.psmp -i cp2k.inp; exit 0; } --> end executable <-- cp: error writing 'cp2k.inp': No space left on device --> executable follows <-- tmpdir=$(mktemp -d -p /tmp "mytmpdir.XXXXXXXXXX" || mktemp -d -t "mytmpdir.XXXXXXXXXX") && cd $tmpdir; echo "tmpdir: $PWD" && cp /vast.mnt/project/phys-20225982/PbI2_layer_DMF_psiflow/psiflow_internal/context_dir/cp2k_000000.inp cp2k.inp && { timeout -s 9 16200.0s apptainer exec -e --no-init oras://ghcr.io/molmod/cp2k:2024.1 /opt/entry.sh mpirun -np 64 cp2k.psmp -i cp2k.inp; exit 0; } --> end executable <-- cp: error writing 'cp2k.inp': No space left on device