Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
3dca0d86
Commit
3dca0d86
authored
Apr 15, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing installation PETSC
parent
802253ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/install_PETSC.sh
script/install_PETSC.sh
+2
-2
No files found.
script/install_PETSC.sh
View file @
3dca0d86
...
...
@@ -362,7 +362,7 @@ fi
tar
-xf
petsc-lite-3.7.6.tar.gz
cd
petsc-3.7.6
echo
"./configure C
XX="
$CXX
" CC="
$CC
" FC="
$FC
" F77="
$F77
" C
OPTFLAGS="
-O3
-g
" CXXOPTFLAGS="
-O3
-g
" FOPTFLAGS="
-O3
-g
"
$ldflags_petsc
--with-cxx-dialect=C++11
$petsc_openmp
--with-mpi-dir=
$mpi_dir
$configure_options
--with-mumps-lib="
$MUMPS_extra_lib
" --prefix=
$1
/PETSC --with-debugging=0"
echo
"./configure COPTFLAGS="
-O3
-g
" CXXOPTFLAGS="
-O3
-g
" FOPTFLAGS="
-O3
-g
"
$ldflags_petsc
--with-cxx-dialect=C++11
$petsc_openmp
--with-mpi-dir=
$mpi_dir
$configure_options
--with-mumps-lib="
$MUMPS_extra_lib
" --prefix=
$1
/PETSC --with-debugging=0"
function
haveProg
()
{
[
-x
"
$(
command
-v
$1
)
"
]
...
...
@@ -370,7 +370,7 @@ function haveProg() {
$python_command
./configure
C
XX
=
"
$CXX
"
CC
=
"
$CC
"
FC
=
"
$FC
"
F77
=
"
$F77
"
C
OPTFLAGS
=
"-O3 -g"
CXXOPTFLAGS
=
"-O3 -g"
FOPTFLAGS
=
"-O3 -g"
$ldflags_petsc
--with-cxx-dialect
=
C++11
$petsc_openmp
--with-mpi-dir
=
$mpi_dir
$configure_options
--with-mumps-lib
=
"
$MUMPS_extra_lib
"
--prefix
=
$1
/PETSC
--with-debugging
=
0
$python_command
./configure
COPTFLAGS
=
"-O3 -g"
CXXOPTFLAGS
=
"-O3 -g"
FOPTFLAGS
=
"-O3 -g"
$ldflags_petsc
--with-cxx-dialect
=
C++11
$petsc_openmp
--with-mpi-dir
=
$mpi_dir
$configure_options
--with-mumps-lib
=
"
$MUMPS_extra_lib
"
--prefix
=
$1
/PETSC
--with-debugging
=
0
make all
test
make
install
...
...
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