User Tools

Site Tools


nimrod_2022

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
nimrod_2022 [2022/09/14 06:37] simonw7nimrod_2022 [2022/09/14 06:54] simonw7
Line 42: Line 42:
   . <script name>    . <script name> 
  
-Now that the necessary modules have been loaded the code can be compiled. There are two main methods of doing this at NERSC. The first is to use the mknimall.sh script provided if nimall is checked out. Alternatively, Jake King's config scripts may be used to build the code on Cori. +Now that the necessary modules have been loaded the code can be compiled. There are two main methods of doing this at NERSC. The first is to use the mknimall.sh script provided if nimall is checked out. Alternatively, Jake's config scripts may be used to build the code on Cori. 
  
 ====   mknimall method  ==== ====   mknimall method  ====
Line 58: Line 58:
 and check the executables are there. /par/bin will contain the executables for the parallel build and /ser/bin will contain the executables for the serial build of Nimrod.  and check the executables are there. /par/bin will contain the executables for the parallel build and /ser/bin will contain the executables for the serial build of Nimrod. 
  
-====   Jake King's scripts method  ====+====   Jake'config scripts method  ====
  
 Alternatively, pre-existing configure scripts created by Jake King may also be used. This section will give instructions on how to copy over and use these scripts on Cori. These will also work if the nimdevel only branch is checked out, which does not contain the mknimall.sh script.  Alternatively, pre-existing configure scripts created by Jake King may also be used. This section will give instructions on how to copy over and use these scripts on Cori. These will also work if the nimdevel only branch is checked out, which does not contain the mknimall.sh script. 
Line 71: Line 71:
   /global/common/software/nimrod/cori/software-gcc-11.2/nimdevel/share-ser/cori.nersc.gov-nimdevel-ser-config.sh   /global/common/software/nimrod/cori/software-gcc-11.2/nimdevel/share-ser/cori.nersc.gov-nimdevel-ser-config.sh
   /global/common/software/nimrod/cori/software-gcc-11.2/nimdevel/share-par/cori.nersc.gov-nimdevel-par-config.sh   /global/common/software/nimrod/cori/software-gcc-11.2/nimdevel/share-par/cori.nersc.gov-nimdevel-par-config.sh
-   
-    
  
 +**Step 3:** Modify the config scripts. The config scripts will need modifying to correctly build the code. Two lines will need to be edited so that the source and install directories are changed to the correct locations in the user's directory. The lines to change should be modified to read : 
 +
 +   DCMAKE_INSTALL_PREFIX:PATH=/ <full path to install directory> \
 +   DSUPRA_SEARCH_PATH:PATH='/global/common/software/nimrod/cori/software-gcc-11.2;/global/common/software/nimrod/cori/software-gcc-11.2/userdocs' /<full path to nimdevel source code directory> 
 +
 +After this has been done, run the config scripts from the corresponding directory and then use the make install command. This should successfully make the serial and parallel versions of nimdevel. 
 +  
 ===== Compiling older versions at NERSC ===== ===== Compiling older versions at NERSC =====
nimrod_2022.txt · Last modified: 2022/09/14 08:29 by simonw7