Dear PLUMED users,
I'm aware that this may not be the correct place to ask, but hopefully someone on this forum has some experience with compiling PLUMED using EasyBuild.
I'm trying to compile PLUMED 2.9.0 with libtorch 1.13.1 on a SLURM cluster using EasyBuild. I've succesfully compiled PLUMED several times with EasyBuild before, but I can't get it to work with libtorch.
I've downloaded libtorch in my home directory:
And i've adjusted the easyconfig file in a somewhat hacky way to set the correct environment variables.
The output of the configure command yields (lines 1977-1978 of the log file):
checking libtorch without extra libs... no
checking libtorch with -ltorch_cpu -lc10... yes
However, during the the compilation I get the following error
(lines 3462-3465 of the log file):
PytorchModel.cpp:28:10: fatal error: torch/torch.h: No such file or directory
28 | #include <torch/torch.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
Can someone point me in the right direction?
PS I included the following files:
- The adjusted easyconfig file
- The failed compilation output