Closed davidcb98 closed 4 days ago
Don't set FORCE_MPI_ENV=y. That requires you set things manually and know what you're doing. If you don't set it, NWChem will figure it out.
I second @jeffhammond 's suggestion.
However, you need to have the location of mpif90
in your $PATH
environment variable.
https://nwchemgit.github.io/Compiling-NWChem.html#automatic-detection-of-mpi-variables-with-mpif90
This could be the commands you need to execute if using bash
unset FORCE_MPI_ENV
export PATH=/mnt/home/soft/openmpi/programs/openmpi_5.0.2_gcc13.2.0_bc/bin:$PATH
Please report your installation problems to the NWChem user group. https://groups.google.com/g/nwchem-forum
Good morning,
with the changes you are telling me about, it still gives the same failure: /usr/bin/ld: cannot find -lga /usr/bin/ld: cannot find -larmci /usr/bin/ld: cannot find -lcomex
Looking for these libraries I see that they are generated by the compilation itself in the path: $NWCHEM_TOP/src/tools/install/lib64/
So what I did was, waiting for make to fail, add this new path to the LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=$NWCHEM_TOP/src/tools/install/lib64/:$LD_LIBRARY_PATH
and rerun make. It compiled without errors. Now my users will let me know if it works fine.
Best regards, David
@davidcb98 if you want to continue this issue, you would need to provide details about your compilation (linux flavor, compilers, $NWCHEM_TOP/src/tools/build/config.log, etc ...). If you are reluctant to do that, I suggest you to use the users' group, instead.
Hi,
I'm triying to compile nwchem with MPI5 and gcc13.2.0. Here my command:
But I've got this error:
Does anyone have any idea what is going wrong?
Greetings, David