Skip to content

Commit

Permalink
/
Browse files Browse the repository at this point in the history
  • Loading branch information
suzanmanasreh committed Jun 13, 2024
1 parent c951e9d commit cf5bd49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install/install-with-mkl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# salloc a node before you run this because petsc configure uses srun

echo -e "export PATH="$PATH:$HOME/.local/bin"" >> ~/.bashrc
echo -e "export PATH="$PATH:$HOME/.local/bin"" >> ~/.bashrc
source ~/.bashrc

Expand All @@ -22,7 +23,9 @@ tar -xf petsc-3.19.tar.gz
cp ../install/scripts/petsc_configure.py ./petsc-3.19.6
cd petsc-3.19.6

./configure --with-fc=mpif90 \
./configure --with-cc=/usr/local/pace-apps/spack/packages/linux-rhel7-x86_64/gcc-10.3.0/mvapich2-2.3.6-ouywalrqjnakjlhjxgunwqssb3iongrc/bin/mpicc \
--with-cxx=/usr/local/pace-apps/spack/packages/linux-rhel7-x86_64/gcc-10.3.0/mvapich2-2.3.6-ouywalrqjnakjlhjxgunwqssb3iongrc/bin/mpicxx \
--with-fc=/usr/local/pace-apps/spack/packages/linux-rhel7-x86_64/gcc-10.3.0/mvapich2-2.3.6-ouywalrqjnakjlhjxgunwqssb3iongrc/bin/mpif90 \
--with-fortran-datatypes \
--with-debugging=0 \
--COPTFLAGS=-g -O3 -march=native -mtune=native \
Expand Down

0 comments on commit cf5bd49

Please sign in to comment.