Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Error while compiling with Intel

kyle_r

New member
Hello,

I have been attempting to compile WRF using Intel compilers, but I continue to run into the same error message in my log.output file. The error message is:
"mpif90: error while loading shared libraries: libXNVCtrl.so.0: cannot open shared object file: No such file or directory"

I haven't been able to find any information regarding this error, so I was hoping someone has some insight on the libXNVCtrl.so.0 library. I have attached my log.compile file for reference.

Thank you
 

Attachments

  • log.compile.txt
    1 MB · Views: 2
Did you install all the intel compilers or just the HPC portion?

Try setting these variables



Bash:
# some of the libraries we install below need one or more of these variables
export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export F90=ifort
export MPIFC=mpiifort
export MPIF77=mpiifort
export MPIF90=mpiifort
export MPICC=mpiicc
export MPICXX=mpiicpc

mpif90 is the default for GNU compilers.
 
Did you install all the intel compilers or just the HPC portion?

Try setting these variables



Bash:
# some of the libraries we install below need one or more of these variables
export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export F90=ifort
export MPIFC=mpiifort
export MPIF77=mpiifort
export MPIF90=mpiifort
export MPICC=mpiicc
export MPICXX=mpiicpc

mpif90 is the default for GNU compilers.
@Whatheway Sorry for the late reply. Setting those variables did the trick. Thank you for your help!
 
Top