nimrod_2022
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
nimrod_2022 [2022/09/14 06:21] – simonw7 | nimrod_2022 [2022/09/14 06:54] – simonw7 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== NIMROD 2022 ====== | ====== NIMROD 2022 ====== | ||
- | The method for getting NIMROD running at NERSC has changed slightly as the default version of some modules on NERSC have changed. This wiki will give instructions to help set up the most recent version of nimdevel and include some tips to help compile older versions of NIMROD | + | The method for getting NIMROD running at NERSC has changed slightly as the default version of some modules on NERSC have changed. This wiki will give instructions to help set up the most recent version of nimdevel and include some tips to help compile older versions of NIMROD. This page will run through the steps necessary to compile the code at NERSC. |
===== Accessing the newest version of nimdevel | ===== Accessing the newest version of nimdevel | ||
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, | + | 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, |
==== | ==== | ||
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. | ||
- | ==== | + | ==== |
+ | Alternatively, | ||
+ | |||
+ | **Step 1:** make two new directories, | ||
+ | |||
+ | mkdir nimdevel-ser | ||
+ | mkdir nimdevel-par | ||
+ | | ||
+ | **Step 2:** Copy over the config scripts to the corresponding directory. These config scripts are in the following directories: | ||
+ | |||
+ | / | ||
+ | / | ||
+ | |||
+ | **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 : | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | 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