Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(intel): add intel fortran compiler #2

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2fc7eb3
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 19, 2021
992e86c
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 19, 2021
590519e
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 19, 2021
2be709e
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 19, 2021
252afa0
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 19, 2021
a48864b
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
05f301f
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
77aa7da
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
f2af084
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
e3d9d93
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
77fd235
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
42976c0
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
145c9cf
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
d0a70dd
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
e9669db
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 21, 2021
aefee5b
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
62e2796
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
8752058
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
eb1b0cc
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
09f80f6
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
2b7c788
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
7b85585
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
b3d8075
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
5bd60ed
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 22, 2021
b779241
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 23, 2021
01d4436
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 23, 2021
cfd9f9c
ci(intel): add intel fortran compiler
jdhughes-usgs Feb 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci(intel): add intel fortran compiler
  • Loading branch information
jdhughes-usgs committed Feb 21, 2021
commit e3d9d938792c3f49776373c7f77d2fe544246bf8
8 changes: 4 additions & 4 deletions .github/intel-scripts/ifortvars_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tai

# shellcheck source=/dev/null

#export ONEAPI_DIR="/opt/intel/oneapi/compiler/$LATEST_VERSION/env/"
#echo "$ONEAPI_DIR"
#echo "source $ONEAPI_DIR/vars.sh --install" >> "$HOME/.bashrc"
export ONEAPI_DIR="/opt/intel/oneapi/compiler/$LATEST_VERSION/env/"
echo "$ONEAPI_DIR"
echo "source $ONEAPI_DIR/vars.sh --install" >> "$HOME/.bash_profile"

source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
#source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
12 changes: 5 additions & 7 deletions .github/workflows/nightly-build-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
body_name: bodyFileWindows
defaults:
run:
shell: bash -l {0}
shell: bash {0}

steps:
- name: Checkout this github repo
Expand All @@ -67,10 +67,10 @@ jobs:
run: |
.github/intel-scripts/install_linux.sh $LINUX_HPCKIT_URL $LINUX_FORTRAN_COMPONENTS_WEB

# - name: initialize ifort on linux
# if: runner.os == 'Linux'
# run: |
# .github/intel-scripts/ifortvars_linux.sh
- name: initialize ifort on linux
if: runner.os == 'Linux'
run: |
.github/intel-scripts/ifortvars_linux.sh

- name: cache install ifort on macos
if: runner.os == 'macOS'
Expand Down Expand Up @@ -156,8 +156,6 @@ jobs:
- name: Build and zip applications on linux
if: runner.os == 'Linux'
run: |
.github/intel-scripts/ifortvars_linux.sh
ifort --version
cd ./modflow6/distribution/
python build_nightly.py -fc ifort
cd ../../
Expand Down