Skip to content
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

[INSTALL] SCOTCH v7.0.4 on RDHPCS machines #526

Open
MatthewMasarik-NOAA opened this issue Aug 25, 2023 · 0 comments
Open

[INSTALL] SCOTCH v7.0.4 on RDHPCS machines #526

MatthewMasarik-NOAA opened this issue Aug 25, 2023 · 0 comments
Assignees

Comments

@MatthewMasarik-NOAA
Copy link

Which software in the stack would you like installed?
SCOTCH v7.0.4.

What is the version/tag of the software?
v7.0.4: https://gitlab.inria.fr/scotch/scotch/-/tags/v7.0.4

What compilation options would you like set?

  • hera
module purge                                                                                                        
module load cmake/3.20.1                                                                                            
module load intel/2022.1.2                                                                                          
module load impi/2022.1.2                                                                                           
module use  /scratch1/NCEPDEV/nems/role.epic/hpc-stack/libs/intel-2022.1.2/modulefiles/stack
module load hpc/1.2.0                                                                                               
module load hpc-intel/2022.1.2                                                                                      
module load hpc-impi/2022.1.2                                                                                       
module load gnu/9.2.0

git clone https://gitlab.inria.fr/scotch/scotch.git
git checkout tags/v7.0.4
cd scotch
mkdir build && cd build

cmake -DCMAKE_Fortran_COMPILER=mpiifort    \
      -DCMAKE_C_COMPILER=mpiicc            \
      -DCMAKE_CXX_COMPILER=mpiicc          \
      -DCMAKE_BUILD_TYPE=Release           \
       ..
make ptscotch
make install
  • orion
module purge                                                                   
module load contrib/0.1                                                        
module load noaa-gcc/10.2.0                                                    
module load cmake/3.22.1                                                       
module load intel/2022.1.2                                                     
module load impi/2022.1.2                                                      
module use  /work/noaa/epic-ps/hpc-stack/libs/intel/2022.1.2/modulefiles/stack 
module load hpc/1.2.0                                                          
module load hpc-intel/2022.1.2                                                 
module load hpc-impi/2022.1.2

git clone https://gitlab.inria.fr/scotch/scotch.git
git checkout tags/v7.0.4
cd scotch
mkdir build && cd build

cmake -DCMAKE_Fortran_COMPILER=mpiifort    \
      -DCMAKE_C_COMPILER=mpiicc            \
      -DCMAKE_CXX_COMPILER=mpiicc          \
      -DCMAKE_BUILD_TYPE=Release           \
       ..
make ptscotch
make install
  • Environment parameter
    Loading scotch/7.0.4 should export
SCOTCH_PATH=<path-to-install>

Which machines would you like to have the software installed?
All RDHPCS machines (note: I have access to hera and orion).

Any other relevant information that we should know to correctly install the software??
This bugfix version, SCOTCH v7.0.4, can be built with both THREADS and MPI_THREAD_MULTIPLE cmake options set to ON. These are the default settings in the top level CMakeLists.txt, so including them in the cmake command line call is not necessary.

Additional context
Running ccmake confirms that both THREADS and MPI_THREAD_MULTIPLE are set to ON.

Screenshot from 2023-08-25 14-46-22

Additionally, the other parameters shown in the ccmake display are also set to ON, which are the settings we would like. These are also the default settings in the CMakeLists.txt, so no other action is needed for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants