/usr/bin/ld: cannot find -lmpi_cxx collect2: ld returned 1 exit status make: *** [/home/jps70/OpenFOAM/jps70-2.1.x/platforms/linux64GccDPOpt/lib/liblagrangian.so] Error 1 Running the commands from teh posting by e.derakhshani from 2/24/12; rmdepall, wclean, wmake libso from th...
/usr/bin/ld: cannot find -lmpigc4 I can find the file of libmpigc4.so and libmpigc4.a in the directory of /opt/intel/impi/4.1.0.024/mic/lib. And the PATH in .bashrc is: source /opt/intel/impi/4.1.0.024/intel64/bin/mpivars.sh Even I change it to: source /opt/intel/impi/...
"MPI_LIB = -lmpi -lmpi_cxx"(6) 回到lammps/src文件夹中,sudo make -j8 ubuntu,
However, compiling even a simple HelloWorld code with mpicc (installed at /opt/intel/oneapi/mpi/2021.1-beta10/bin) returns:/usr/bin/ld: cannot find -lmpifort/usr/bin/ld: cannot find -lmpicollect2: error: ld returned 1 exit statusHowever, at least the first library is there:...
/usr/bin/ld: cannot find -lmpigc4 I can find the file of libmpigc4.so and libmpigc4.a in the directory of /opt/intel/impi/4.1.0.024/mic/lib. And the PATH in .bashrc is: source /opt/intel/impi/4.1.0.024/intel64/bin/mpivars.sh Even I change it to: source /opt/intel/impi/...
However, compiling even a simple HelloWorld code with mpicc (installed at /opt/intel/oneapi/mpi/2021.1-beta10/bin) returns:/usr/bin/ld: cannot find -lmpifort/usr/bin/ld: cannot find -lmpicollect2: error: ld returned 1 exit statusHowever, at least the first library is there:...