Skip to content

Commit

Permalink
Build without update from remote to avoid an issue related to HDF5
Browse files Browse the repository at this point in the history
  • Loading branch information
sytuannguyen committed Dec 18, 2020
1 parent ecaa0f2 commit ca24181
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 3 additions & 3 deletions host-configs/TOTAL/pangea2-base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set( ENABLE_PVTPackage ON CACHE BOOL "" FORCE)
set( ENABLE_GEOSX_PTP ON CACHE BOOL "" FORCE)
set( ENABLE_PETSC OFF CACHE BOOL "" FORCE)
set( ENABLE_MATHPRESSO ON CACHE BOOL "" FORCE)
set( ENABLE_HYPRE OFF CACHE BOOL "" FORCE)
set( ENABLE_HYPRE ON CACHE BOOL "" FORCE)
set( ENABLE_XML_UPDATES OFF CACHE BOOL "" FORCE)
set( ENABLE_DOXYGEN OFF CACHE BOOL "" FORCE )
set( ENABLE_BENCHMARKS OFF CACHE BOOL "" FORCE)
Expand All @@ -30,7 +30,7 @@ set(CUDA_ENABLED "OFF" CACHE PATH "" FORCE)
set(CHAI_BUILD_TYPE "cpu-no-rm" CACHE PATH "" FORCE)
set(CHAI_ARGS "" CACHE PATH "" FORCE)

set(ENABLE_OPENMP "ON" CACHE PATH "" FORCE)
set(RAJA_ENABLE_OPENMP "ON" CACHE PATH "" FORCE)
set(ENABLE_OPENMP "OFF" CACHE PATH "" FORCE)
set(RAJA_ENABLE_OPENMP "OFF" CACHE PATH "" FORCE)


6 changes: 3 additions & 3 deletions host-configs/TOTAL/pangea2-gcc@8.3.0.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ set(CMAKE_C_COMPILER "/data_local/sw/gcc/RHEL7/8.3.0/bin/gcc" CACHE PATH "")
set(CMAKE_CXX_COMPILER "/data_local/sw/gcc/RHEL7/8.3.0/bin/g++" CACHE PATH "")
set(CMAKE_Fortran_COMPILER "/data_local/sw/gcc/RHEL7/8.3.0/bin/gfortran" CACHE PATH "")

set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -march=native -mtune=native" CACHE STRING "")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -march=native -mtune=native" CACHE STRING "")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -DNDEBUG -march=native -mtune=native" CACHE STRING "")
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -march=x86-64 -mtune=generic" CACHE STRING "")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -march=x86-64 -mtune=generic" CACHE STRING "")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -DNDEBUG -march=x86-64 -mtune=generic" CACHE STRING "")

set(ENABLE_FORTRAN OFF CACHE BOOL "" FORCE)
set(ENABLE_MPI ON CACHE BOOL "" FORCE)
Expand Down
8 changes: 8 additions & 0 deletions scripts/config-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ def setup_ats(scriptsdir, buildpath):
action='store_true',
help="create an xcode project.")

parser.add_argument("-cb",
"--codeblocks",
action='store_true',
help="create a codeblocks project.")

parser.add_argument("-ecc",
"--exportcompilercommands",
action='store_true',
Expand Down Expand Up @@ -192,6 +197,9 @@ def setup_ats(scriptsdir, buildpath):
if args.eclipse:
cmakeline += ' -G "Eclipse CDT4 - Unix Makefiles"'

if args.codeblocks:
cmakeline += ' -G "CodeBlocks - Unix Makefiles"'

if args.xcode:
cmakeline += ' -G Xcode'

Expand Down

0 comments on commit ca24181

Please sign in to comment.