Installation issues: Rocky 8.8 x86 on a Broadwell processor

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
wangs2
Newbie
Newbie
Posts: 2
Joined: Fri Feb 06, 2009 4:43 am
License Nr.: 587

Installation issues: Rocky 8.8 x86 on a Broadwell processor

#1 Post by wangs2 » Fri Nov 10, 2023 9:15 am

We are building VASP on Rocky 8.8 x86 on a Broadwell processor.

The makefile.include.intel_ompi_mkl_omp ran into issues. The first issue was that it needed, for some reason, to use gfortran. When that lmod module was loaded, then it ran into the issue that gfortran was being passed the wrong option for openmp; it was being passed qopenmp. So, it will not compile.

We used makefile.intel to successfully build gam and std.

We were also successful in building those two binaries with makefile.intel_omp.

Does the intel_omp use Intel’s mkl? It seems that it does, as many of the compile lines include items from the mkl path. If so, we’re probably good to go, as that option would be our preference (all intel mpi, mkl, and omp).

Regardless, please know about the issue with intel_ompi_mkl_omp.

henrique_miranda
Global Moderator
Global Moderator
Posts: 505
Joined: Mon Nov 04, 2019 12:41 pm
Contact:

Re: Installation issues: Rocky 8.8 x86 on a Broadwell processor

#2 Post by henrique_miranda » Mon Nov 13, 2023 12:47 pm

I am not sure I understand the first part of your question.
You say that you needed for some reason to use gfortran. What was that reason?
Did you get some error when trying to compile with intel compilers?
Do you want to compile using intel compilers or gfortran?

As for these two arch makefiles:
makefile.include.intel_ompi_mkl_omp
makefile.include.intel_omp

They are basically the same, the differences are:
1. intel_ompi_mkl_omp uses mpif90 while intel_omp uses mpiifort. This might not even be an actual difference depending on which MPI library you are using and which compiler was used to build it.
You can check what each of them means in your system with
$ mpif90 -v
2. the intel_ompi_mkl_omp makefile allows you to specify a scalapack from another path other than mkl. This is useful in case you enocunter issues using scalapack from your mkl version, in which case you can compile your own scalapack and link it using this line.

wangs2
Newbie
Newbie
Posts: 2
Joined: Fri Feb 06, 2009 4:43 am
License Nr.: 587

Re: Installation issues: Rocky 8.8 x86 on a Broadwell processor

#3 Post by wangs2 » Wed Nov 15, 2023 7:05 pm

Thank you very much for your attention and response!

We did not want or intentionally cause gfortran to be utilized. The chosen option caused that to happen; instead of using the Intel compilers, it used the gfortran compiler. How do we get that fixed? Thanks.

henrique_miranda
Global Moderator
Global Moderator
Posts: 505
Joined: Mon Nov 04, 2019 12:41 pm
Contact:

Re: Installation issues: Rocky 8.8 x86 on a Broadwell processor

#4 Post by henrique_miranda » Thu Nov 16, 2023 1:56 pm

Probably the mpif90 or mpiifort commands in your system are linked to gfortran.
You need to use the correct version of mpif90 or mpiifort that is linked to the compiler you want to use.
To check that you can use the command
$ mpif90 -v
that I mentioned.

It might be that the mpif90 or mpiifort linked to intel in your system is in a non-standard path.
You can try to look for these executables in the folder where you installed your intel compilers.
Sometimes this command might help you
$ which ifort
otherwise you might refer to the documentation of the intel compilers
https://www.intel.com/content/www/us/en ... rview.html

Post Reply