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
nimrod_2022 [2022/09/14 07:43] simonw7nimrod_2022 [2022/09/14 08:29] (current) simonw7
Line 15: Line 15:
  
   svn co --username <username> https://ice.txcorp.com/nimsvn/nimroot/trunk nimdevel   svn co --username <username> https://ice.txcorp.com/nimsvn/nimroot/trunk nimdevel
- 
-   
-   
-   
- 
- 
- 
  
 ===== 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:PATH=/ <full path to install directory>+<code> 
-   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> +-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
 +</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 91: Line 86:
  
   set(CMAKE_Fortran_FLAGS "-fallow-argument-mismatch ${CMAKE_Fortran_FLAGS}")   set(CMAKE_Fortran_FLAGS "-fallow-argument-mismatch ${CMAKE_Fortran_FLAGS}")
 +
 +
 +=====   Modifying and recompiling the code  =====
 +
 +One method of easily modifying the code one NERSC is to use Juypter notebook. Further instructions can be found here:  https://docs.nersc.gov/services/jupyter/ \\
 +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.1663163007.txt.gz · Last modified: 2022/09/14 07:43 by simonw7