Skip to content

Commit

Permalink
Add -lX11 and -lssl for linking with PETSc (#2)
Browse files Browse the repository at this point in the history
I hacked and added -lX11 and -lssl to xSDKTrilinos_EXTRA_LINK_FLAGS since
PETSc (or one of the packages that PETSc is building) is finding and linking
against these libraries on the ORNL CASL Fissile4 machines.

NOTE: This is not really a hack since this script is specific to the Fissile4
machines anyway.
  • Loading branch information
bartlettroscoe committed Apr 13, 2016
1 parent ea46243 commit 3d49a09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/do-configure-fissile4
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ DRIVERS_BASE_DIR=$TRILINOS_DIR_ABS/cmake/ctest/drivers/fissile4

cmake \
-D xSDKTrilinos_CONFIGURE_OPTIONS_FILE="$DRIVERS_BASE_DIR/gcc-4.8.3-base-options.cmake,$DRIVERS_BASE_DIR/trilinos-tpls-gcc.4.8.3.cmake" \
-D xSDKTrilinos_EXTRA_LINK_FLAGS="-lX11 -lssl -lgomp -Wl,-rpath,/projects/vera/gcc-4.8.3/toolset/gcc-4.8.3/lib64" \
-D TPL_ENABLE_MPI=ON \
-D CMAKE_BUILD_TYPE=DEBUG \
-D xSDKTrilinos_ENABLE_TESTS=ON \
Expand Down

0 comments on commit 3d49a09

Please sign in to comment.