####################################################### ####################################################### ####################################################### #### INSTRUCTIONS for setting up Jonathan Lees' Software Package, Progs #### ### change directory to the location where you plan to install ## the tar file has a directory in it called Progs ## this will be where the files reside ## You must have write access to this directory ## ## 1) create a directory for the software. ## It is best if this directory is called /home/lees ## because of path name issues etc. ## so, become root, then: mkdir /home/lees cd /home chown -R your_name lees ## log out of root, become yourself cd /home ls -l ### you should be owner and have read/write privilages in lees cd your_location tar zxvf Progs*.gz ## cd Progs # which perl ## ## if your perl does not match the perl ## in the shell scripts, need to replace # # need to replace the location of the perl programs in the # following code perl -pi.bak -e 's/\/usr\/bin\/perl/\/usr\/local\/bin\/perl/' progs_setup.prl # then type in: progs_setup.prl # answer the questions...(you can use defaults....) # run the INSTALL.sh program that was created INSTALL.sh # # there will be alot of warnings.... # if the program fails you will have to fix the INSTALL script # At this time, you cannot run the INSTALL script twice...better start from scratch # # assume "where_ever" is where you told the installation script # where to put your libraries or binaries: # If the program has executed okay, you should see these libraries cd /where_ever/lib ls # should see: # cfoclib.a cstrlib.a cutilslib.a libnetcdf.a libnrc.a # and these binaries: cd /where_ever/bin ls # should see: # geotouch* fasteruwdoub* jped* Great_Dist* # seissig* evolutemt* Great_Path* jtt1d* # # Then change your execution path to make sure you include the # executable binary files..... # # POST INSTALL # you must set several ENV variables prior to running programs # see the file: # RECOMMENDED_ENV_SETTINGS more RECOMMENDED_ENV_SETTINGS # for a listing of the variable set on machines here at UNC # These should be changed for each individual system # The command for setting these ought to be installed int eh User's # start up shell script (.cshrc or .tcshrc, or whatever)