Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
5a316609
Commit
5a316609
authored
Dec 02, 2018
by
incardon
Browse files
Fixing PETSC detection on ubuntu
parent
87ce8d68
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5a316609
...
...
@@ -46,6 +46,12 @@ endif()
find_package
(
Boost 1.68.0 COMPONENTS unit_test_framework iostreams program_options
)
find_package
(
MPI
)
if
(
MPI_FOUND
)
set
(
ENV{CXX} mpic++
)
set
(
ENV{CC} mpicc}
endif
()
find_package
(
PETSc
)
find_package
(
HDF5
)
find_package
(
Eigen3
)
...
...
configure
View file @
5a316609
...
...
@@ -532,9 +532,9 @@ fi
cd
build
## remove enerything
echo
"Calling cmake ../.
$conf_options
"
echo
"Calling
CXX=mpic++ CC=mpicc
cmake ../.
$conf_options
"
rm
../error_code
cmake ../.
$conf_options
CXX
=
mpic++
CC
=
mpicc
cmake ../.
$conf_options
if
[
$?
!=
0
]
;
then
#ok something went wrong the install script analyze the return code to potentially fix the problem automatically
# Read the error code and exit with that
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment