-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified MAC_install-exodus and added script to set environmental var…
…iables Modified MAC_install-exodus to include Mac compilers and added script to set environmental variables if needed.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Set Up Mac Specific Environmental Variables | ||
# | ||
#===================================================== | ||
|
||
fortran_var=$(find /opt/local/bin/gfortran-mp-*) | ||
cc_var=$(find /opt/local/bin/gcc-mp-*) | ||
cpp_var=$(find /opt/local/bin/g++-mp-*) | ||
|
||
echo "Environmental Variables set" | ||
|
||
FC="$fortran_var" | ||
find ${FC} | ||
export FC="$fortran_var" | ||
|
||
CC="$cc_var" | ||
find ${CC} | ||
export CC="$cc_var" | ||
|
||
CXX="$cpp_var" | ||
find ${CXX} | ||
export CXX="$cpp_var" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters