Skip to content

Commit

Permalink
fix default p4 gomp root
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubusch committed Dec 17, 2024
1 parent e32bab7 commit a82568b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
9 changes: 0 additions & 9 deletions host-configs/TotalEnergies/pangea-4/pangea4-base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,3 @@ set( RAJA_ENABLE_TBB OFF CACHE BOOL "" FORCE )

set( ENABLE_PYGEOSX ON CACHE BOOL "" )
set( ENABLE_VTK_WRAP_PYTHON ON CACHE BOOL "" )

#######################################
# TPLs
#######################################

set(GEOS_TPL_DIR "$ENV{GEOS_TPL_DIR}" CACHE PATH "" FORCE)
if (NOT DEFINED GEOS_TPL_DIR)
message(FATAL_ERROR "You must set GEOS_TPL_DIR with -DGEOS_TPL_DIR=")
endif ()
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ if( NOT DEFINED ENV{MKLROOT} )
endif()

if ( NOT DEFINED ENV{GOMP_ROOT} )
set( GOMP_ROOT $ENV{GCC_PATH}/lib/gcc/x86_64-redhat-linux/12/libgomp.so )
message( STATUS "GOMP_ROOT is not set. Setting it to $ENV{GCC_PATH}/lib/gcc/x86_64-redhat-linux/12" )
set( ENV{GOMP_ROOT} $ENV{GCC_PATH}/lib/gcc/x86_64-redhat-linux/12 )
endif()

set( MKL_INCLUDE_DIRS $ENV{MKLROOT}/include CACHE STRING "" )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ if( NOT DEFINED ENV{MKLROOT} )
endif()

if ( NOT DEFINED ENV{GOMP_ROOT} )
set( GOMP_ROOT $ENV{GCC_PATH}/lib/gcc/x86_64-redhat-linux/12/libgomp.so )
message( STATUS "GOMP_ROOT is not set. Setting it to $ENV{GCC_PATH}/lib/gcc/x86_64-redhat-linux/12" )
set( ENV{GOMP_ROOT} $ENV{GCC_PATH}/lib/gcc/x86_64-redhat-linux/12 )
endif()

set( MKL_INCLUDE_DIRS $ENV{MKLROOT}/include CACHE STRING "" )
Expand Down

0 comments on commit a82568b

Please sign in to comment.