#/bin/csh -f #------------------------------------------------------- # # cshrc file for the workstation ETA Model usage # # Please read all the comments below and when requested, # make changes to reflect your system set-up. # # Log # R.Rozumalski 12/99 Created # R.Rozumalski 03/01 SMP Support added # R.Rozumalski 09/02 Version 3.1 #------------------------------------------------------- # # Note: the environment variable $ETA_OS must be set # to the operating system (i.e. hpux) in order for the # model to run. You may set it in your Common.cshrc # file or it will be set here. # if ( ! $?ETA_OS ) then set OS = ( `uname` ) if ( $OS == HP-UX || $OS == HPUX ) then setenv ETA_OS hpux setenv ENDIAN BigE #TO else if ( $OS == linux || $OS == LINUX ) #TO setenv ETA_OS linux #TO setenv ENDIAN LittleE else if ( $OS == linux || $OS == LINUX ) setenv ETA_OS linux setenv ENDIAN BigE else if ( $OS == SUPER-UX ) setenv ETA_OS SUPER-UX setenv ENDIAN BigE else echo "This OS ($OS) is currently not supported for the WS Eta Model." echo "To add ($OS) you will need to first edit the top of the ETA.cshrc" echo "file and add the proper text. Then you will need create a Makeinc.$OS" echo "file in $WS_ETA/src/config and then possibly" echo "do some porting since I have no idea whether the WS Eta will run on" echo "your platform. Let me be the first to wish you the best of luck." echo " " exit 1 endif else if ( $ETA_OS == hpux ) then setenv ENDIAN BigE #TO else if ( $ETA_OS == linux ) then #TO setenv ENDIAN LittleE else if ( $ETA_OS == linux ) then setenv ENDIAN BigE else if ( $ETA_OS == SUPER-UX ) then setenv ENDIAN BigE else if ( $ETA_OS != hpux && $ETA_OS != linux ) then echo "This OS ($OS) is currently not supported for the WS Eta Model." echo "To add ($OS) you will need to first edit the top of the ETA.cshrc" echo "file and add the proper text. Then you will need create a Makeinc.$OS" echo "file in $WS_ETA/src/config and then possibly" echo "do some porting since I have no idea whether the WS Eta will run on" echo "your platform. Let me be the first to wish you the best of luck." echo " " exit 1 endif endif # # Make sure ETA_HOME directory exists # if ( ! -d $WS_ETA ) then echo "Can not find Workstation ETA distribution--Check directory and" echo "modify ETA.cshrc" unsetenv WS_ETA exit endif # # WS_ETA env variables. # # No need to change these, unless you have a good reason # setenv ETA_HOME $WS_ETA setenv ETA_BIN $ETA_HOME/bin/$ETA_OS setenv ETA_LIB $ETA_HOME/lib/$ETA_OS setenv ETA_RUN $ETA_HOME/run_time setenv ETA_DOCS $ETA_HOME/docs setenv ETA_DATA $ETA_HOME/data setenv ETA_LOGS $ETA_HOME/logs setenv ETA_PREP $ETA_DATA/eta_prep setenv ETA_SCRIPTS $ETA_HOME/bin/scripts setenv LD_LIBRARY_PATH $ETA_HOME/lib/shared setenv NCPUS 4 setenv MPSTKZ 64M # CHANGE THIS IF NECESSARY setenv ETA_TMP $WS_ETA/logs # # Add WS ETA executables & scripts to the end of the existing path # set path = ( $path $ETA_RUN $WS_ETA/bin/${ETA_OS} $WS_ETA/bin/scripts ) # Done!