Changeset 6753 for TOOLS/MachineEnvironment/irene/bashrc
- Timestamp:
- 03/08/24 14:24:20 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MachineEnvironment/irene/bashrc
r5503 r6753 2 2 return 0 3 3 fi 4 4 5 ##################################### 5 6 # This file, ~/.bashrc, should be sourced by your ~/.bash_profile … … 7 8 # Below, source ~/.basrch_curie or ~/.bashrc_irene depending on the computer 8 9 # This file should be in your home 9 case $HOSTNAME in10 10 11 curie*) 12 . ~/.bashrc_curie ;; 13 irene170|irene171|irene190|irene191|irene192|irene193) 14 . ~/.bashrc_irene ;; 15 irene172|irene173|irene194|irene195) 16 . ~/.bashrc_irene-amd ;; 11 u_s=$(uname -s) ; u_n=$(uname -n) ; u_r=$(uname -r) ; u_m=$(uname -m) 12 13 case ${u_n} in 14 ( irene* ) 15 if [[ $(lscpu | grep "Intel(R) Xeon(R) Platinum") ]] ; then 16 if [[ "$(ccc_os)" = "Atos_7__x86_64" ]] ; then 17 . ~/.bashrc_irene_prev 18 fi 19 if [[ "$(ccc_os)" = "Rhel_8__x86_64" ]] ; then 20 . ~/.bashrc_irene 21 fi 22 fi 23 24 25 if [[ $(lscpu | grep "AMD") ]] ; then 26 if [[ "$(ccc_os)" = "Atos_7__x86_64" ]] ; then 27 . ~/.bashrc_irene-amd_prev 28 fi 29 if [[ "$(ccc_os)" = "Rhel_8__x86_64" ]] ; then 30 . ~/.bashrc_irene 31 fi 32 fi 33 ;; 34 17 35 esac 18 36 #####################################
Note: See TracChangeset
for help on using the changeset viewer.