Skip to content

Commit

Permalink
housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
parkermac committed Mar 22, 2022
1 parent a0a9eb8 commit 780eb39
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 1 deletion.
2 changes: 1 addition & 1 deletion driver/batch/mox1_batch_BLANK.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#SBATCH --mem=128G

## Exclude nodes for debugging 2022.03.17
#SBATCH --exclude=n2231,n2399
## #SBATCH --exclude=n2231,n2399

module load icc_17-impi_2017
module load netcdf_fortran+c_4.4.1.1-icc_17
Expand Down
38 changes: 38 additions & 0 deletions misc/klone.bashrc_2022.03.22
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'
39 changes: 39 additions & 0 deletions misc/mox.bashrc_2022.03.22
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'

0 comments on commit 780eb39

Please sign in to comment.