-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error when using Intel compiler #77
Comments
Please provide file 'config.log' which shows more information about that failure. |
I found this line from config.log.
The env variable INTEL contains an ill formed folder name '**'.
|
** just hide the username |
It is likely. From config.log, I am seeing the 2 lines above the failure message.
It indicates a problem of MPI F77 compiler, $INTEL/oneapi/mpi/latest/bin/mpif77 |
Hi, @7BF794B0 I am working on the next release which will come out soon. I would suggest to use the following configure command
|
Hello!
I am trying to compile pnetcdf-1.12.2 using Intel oneAPI Base Toolkit/HPC Toolkit 2022.1 with the following command:
MPICC=$INTEL/oneapi/mpi/latest/bin/mpiicc CFLAGS="-I$INTEL/oneapi/mpi/latest/include -L$INTEL/oneapi/mpi/latest/lib/release -L$INTEL/oneapi/mpi/latest/lib -fPIC -O3 -xsse4.2 -align" MPICXX=$INTEL/oneapi/mpi/latest/bin/mpiicpc CXXFLAGS="-I$INTEL/oneapi/mpi/latest/include -L$INTEL/oneapi/mpi/latest/lib/release -L$INTEL/oneapi/mpi/latest/lib -fPIC -O3 -xsse4.2" MPIF77=$INTEL/oneapi/mpi/latest/bin/mpif77 MPIF90=$INTEL/oneapi/mpi/latest/bin/mpiifort FCFLAGS="-I$INTEL/oneapi/mpi/latest/include -L$INTEL/oneapi/mpi/latest/lib/release -L$INTEL/oneapi/mpi/latest/lib -fPIC -O3 -xsse4.2" ./configure --prefix=$DIR/netcdf --enable-shared
It fails with the following log:
How to fix this error?
The text was updated successfully, but these errors were encountered: