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 revisionBoth sides next revision
nimrod_2022 [2022/09/14 07:15] simonw7nimrod_2022 [2022/09/14 07:43] simonw7
Line 82: Line 82:
 ===== 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, add the following line into the CMakeLists.txt file:+Some older versions of Nimrod ( such as 3.2.4) may contain a README 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. This is due to these version of nimrod being created and compiled using an older version of gcc. To fix this issue, add the fortran compile flag: 
 + 
 +<code> 
 +-fallow-argument-mismatch 
 +</code> 
 +  
 +If using cmake to compile, this can be done by adding the following line into the CMakeLists.txt file:
  
   set(CMAKE_Fortran_FLAGS "-fallow-argument-mismatch ${CMAKE_Fortran_FLAGS}")   set(CMAKE_Fortran_FLAGS "-fallow-argument-mismatch ${CMAKE_Fortran_FLAGS}")
  
          
nimrod_2022.txt · Last modified: 2022/09/14 08:29 by simonw7