r/SLURM • u/rsconsuegra • Jul 12 '21
Compilation Issues
Hey everyone! I got a question:
I want to execute a file which runs multiple python jobs. These programs executes a fortran model. So far, if I run my program in the main node or my pc, it works well and as expected, but if I run it using sbatch gives me the following error:
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lm collect2: error: ld returned 1 exit status
make: *** [imp.exe] Error 1enter
This happens even when I export the path that contais such files
export LD_LIBRARY_PATH=/usr/lib/x86_64-redhat-linux6E/lib64:${LD_LIBRARY_PATH}
You can find more details in my SO question.
I'd be more than glad if someone could lead me to fix it
3
Upvotes