-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
78 additions
and
1 deletion.
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
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,38 @@ | ||
# .bashrc | ||
|
||
# Source global definitions | ||
if [ -f /etc/bashrc ]; then | ||
. /etc/bashrc | ||
fi | ||
|
||
# User specific environment | ||
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] | ||
then | ||
PATH="$HOME/.local/bin:$HOME/bin:$PATH" | ||
fi | ||
export PATH | ||
|
||
module load intel/oneAPI | ||
LODIR=/gscratch/macc/local | ||
#OMPI=${LODIR}/openmpi-ifort | ||
NFDIR=${LODIR}/netcdf-ifort | ||
NCDIR=${LODIR}//netcdf-icc | ||
export LD_LIBRARY_PATH=${NFDIR}/lib:${NCDIR}/lib:${LD_LIBRARY_PATH} | ||
export PATH=/gscratch/macc/local/netcdf-ifort/bin:$PATH | ||
export PATH=/gscratch/macc/local/netcdf-icc/bin:$PATH | ||
#export PATH=/gscratch/macc/local/openmpi-ifort/bin:$PATH | ||
|
||
|
||
# Uncomment the following line if you don't like systemctl's auto-paging feature: | ||
# export SYSTEMD_PAGER= | ||
|
||
# User specific aliases and functions | ||
alias cdpm='cd /gscratch/macc/parker' | ||
alias cdLo='cd /gscratch/macc/parker/LO' | ||
alias cdLu='cd /gscratch/macc/parker/LO_user' | ||
alias cdLoo='cd /gscratch/macc/parker/LO_output' | ||
alias cdLor='cd /gscratch/macc/parker/LO_roms' | ||
alias cdLru='cd /gscratch/macc/parker/LO_roms_user' | ||
alias cdLrs='cd /gscratch/macc/parker/LO_roms_source' | ||
alias cdLod='cd /gscratch/macc/parker/LO_data' | ||
alias pmsrun='srun -p compute -A macc --pty bash -l' |
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,39 @@ | ||
# Basic bash startup | ||
. /usr/local/lib/std.v2.bashrc | ||
|
||
case $- in | ||
*i*) | ||
|
||
# Put interactive-only Bourne shell compatible login startup here. | ||
|
||
# Uncomment one or more of the following for paranoid behavior | ||
|
||
#set -o noclobber | ||
#alias cp='cp -i' | ||
#alias mv='mv -i' | ||
#alias rm='rm -i' | ||
|
||
# Uncomment the following if you want traditional behavior | ||
|
||
#unalias vi | ||
#unalias ls | ||
|
||
esac | ||
|
||
# Commands to facilitate compiling ROMS 2017.12.19 | ||
module load icc_17-impi_2017 | ||
module load netcdf_fortran+c_4.4.1.1-icc_17 | ||
export I_MPI_F90=ifort | ||
|
||
# added by Anaconda3 installer | ||
# export PATH="/gscratch/macc/anaconda3/bin:$PATH" | ||
|
||
# Aliases | ||
alias cdpm='cd /gscratch/macc/parker' | ||
alias cdlo='cd /gscratch/macc/parker/LiveOcean' | ||
alias cdLo='cd /gscratch/macc/parker/LO' | ||
alias cdLu='cd /gscratch/macc/parker/LO_user' | ||
alias cdLor='cd /gscratch/macc/parker/LO_roms' | ||
alias cdloo='cd /gscratch/macc/parker/LiveOcean_output' | ||
alias cdlod='cd /gscratch/macc/parker/LiveOcean_data' | ||
alias cdlor='cd /gscratch/macc/parker/LiveOcean_roms' |