Skip to content

Commit

Permalink
Merge pull request #668 from vasmue/main
Browse files Browse the repository at this point in the history
updated Juwels env file
  • Loading branch information
suvarchal authored Jan 15, 2025
2 parents 47d5228 + 60184b3 commit 986c33e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 44 deletions.
62 changes: 19 additions & 43 deletions env/juwels/shell
Original file line number Diff line number Diff line change
@@ -1,44 +1,20 @@
##########
module --force purge
module use /gpfs/software/juwels/otherstages
module load Stages/2020
module load Intel/2020.2.254-GCC-9.3.0
module load ParaStationMPI/5.4.7-1
module load CMake/3.18.0
module load imkl/2020.2.254
module load netCDF-Fortran/4.5.3
module load netCDF/4.7.4
module load Perl/5.32.0
module load netCDF
#!/usr/bin/bash
# ENVIRONMENT used in new_test15_compute_20000101-20000101.run
# Use this file to source the environment in your
# preprocessing or postprocessing scripts

export LC_ALL=en_US.UTF-8
export TMPDIR=/tmp
export FC=mpifort
export F77=mpifort
export MPIFC=mpifort
export FCFLAGS=-free
export CC=mpicc
export CXX=mpic++

export NETCDF_Fortran_INCLUDE_DIRECTORIES=$EBROOTNETCDFMINFORTRAN/include
export NETCDF_Fortran_LIBRARIES=$EBROOTNETCDFMINFORTRAN/lib

#module use /gpfs/software/juwels/otherstages
#module load Stages/2019a
#module load StdEnv
## For intel MPI
##module load Intel/2019.3.199-GCC-8.3.0 IntelMPI/2018.5.288 imkl/2019.3.199
##export FC=mpiifort CC=mpiicc CXX=mpiicpc

## For ParaStation MPI
#module load Intel/2019.3.199-GCC-8.3.0 ParaStationMPI/5.4 imkl/2019.5.281
#export FC=mpifort CC=mpicc CXX=mpicxx

#module load netCDF/4.6.3
#module load netCDF-Fortran/4.4.5
#module load CMake
#export NETCDF_DIR=$EBROOTNETCDF
#export NETCDFF_DIR=$EBROOTNETCDFMINFORTRAN
#export NETCDF_Fortran_INCLUDE_DIRECTORIES=${NETCDFF_DIR}/include/
#export NETCDF_C_INCLUDE_DIRECTORIES=${NETCDF_DIR}/include/
#export NETCDF_CXX_INCLUDE_DIRECTORIES=${NETCDFCXX_DIR}/include/
module --force purge
module use $OTHERSTAGES
module --force purge
module load Stages/2023
module load GCC/11.3.0
module load OpenMPI/4.1.4
module load CMake/3.26.3
module load Python/3.10.4
module load imkl/2022.1.0
module load Perl/5.34.1
module load git
module load CDO
module unload ecCodes
module load libaec FFTW imkl cURL netCDF netCDF-Fortran
module list
5 changes: 4 additions & 1 deletion mesh_part/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.4)

project(fesom_ini C Fortran)
find_package(MPI REQUIRED)



# get our source files
set(src_home ${CMAKE_CURRENT_LIST_DIR}/../src)
Expand All @@ -26,5 +29,5 @@ elseif(${CMAKE_Fortran_COMPILER_ID} STREQUAL GNU )
target_compile_options(${PROJECT_NAME} PRIVATE -fallow-argument-mismatch) # gfortran v10 is strict about erroneous API calls: "Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)"
endif()
endif()
target_link_libraries(${PROJECT_NAME} ${PROJECT_NAME}_C)
target_link_libraries(${PROJECT_NAME} ${PROJECT_NAME}_C MPI::MPI_Fortran)
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE Fortran)

0 comments on commit 986c33e

Please sign in to comment.