nimrod_2022
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nimrod_2022 [2022/09/14 07:15] – simonw7 | nimrod_2022 [2022/09/14 08:29] (current) – simonw7 | ||
---|---|---|---|
Line 15: | Line 15: | ||
svn co --username < | svn co --username < | ||
- | |||
- | | ||
- | | ||
- | | ||
- | |||
- | |||
- | |||
===== Compiling the newest version of NIMDEVEL at NERSC ===== | ===== Compiling the newest version of NIMDEVEL at NERSC ===== | ||
Line 75: | Line 68: | ||
**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 : | **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: | + | < |
- | | + | -DCMAKE_INSTALL_PREFIX: |
+ | -DSUPRA_SEARCH_PATH: | ||
+ | </code> | ||
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. | 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. | ||
Line 82: | Line 77: | ||
===== Compiling older versions at NERSC ===== | ===== Compiling older versions at NERSC ===== | ||
- | Some older versions of Nimrod ( such as 3.2.4) may contain a READ ME that instructs the user to compile the code slightly differently. When following these instructions the user may run into some errors when compiling. One common issue is getting a type mismatch error when calling the mpi_bcast routine. To fix this issue if using cmake to compile, | + | Some older versions of Nimrod ( such as 3.2.4) may contain a README |
+ | |||
+ | < | ||
+ | -fallow-argument-mismatch | ||
+ | </ | ||
+ | |||
+ | If using cmake to compile, | ||
set(CMAKE_Fortran_FLAGS " | set(CMAKE_Fortran_FLAGS " | ||
+ | |||
+ | |||
+ | ===== | ||
+ | |||
+ | One method of easily modifying the code one NERSC is to use Juypter notebook. Further instructions can be found here: https:// | ||
+ | If the source code is modified, the user does not need to repeat all of the steps listed above for compiling the code. Instead the user can move to the build directory and use the make/make install command again. This will save time instead of rebuilding the entire code again. | ||
+ | |||
| |
nimrod_2022.1663161354.txt.gz · Last modified: 2022/09/14 07:15 by simonw7