PRECIS support forum http://forum.precisrcm.com/ |
|
Installation of PRECIS http://forum.precisrcm.com/viewtopic.php?f=1&t=28 |
Page 1 of 1 |
Author: | nakhap [ Wed Jun 04, 2014 12:46 am ] |
Post subject: | Installation of PRECIS |
Dear All, I have been trying to install PRECIS system in my linux mint but could not succeed. Following procedures were undertaken: 1. su -passwd 2. mkdir -p /scratch/$USER [to be installed in this directory] 3. cd /scratch/$USER 4. Define PRECIS directory: DDIR=./Precis_vn1.9.4 [as PRECIS package is downloaded and unzipped here] 5. cp $DDIR/install* . [copy installation files in this directory 6. ./install_precis $DDIR 7. It allows me to answer several questions as usual but following error pops up: Nakhap root # ./install_precis $DDIR ------------------- PRECIS INSTALLATION Version 1.9.4 ------------------- INSTALLATION INSTRUCTIONS 1) Log in as user precis and open a terminal 2) Insert PRECIS DVD and mount it (e.g. to /media/dvd) 3) Copy install scripts from DVD: cp -v /media/dvd/install* $HOME 4) cd $HOME 5) ./install_precis /media/dvd Hit Enter to proceed, control C to quit ... This program is part of the installation of the PRECIS on a GNU/Linux PC. It creates paths and exports certain variables that PRECIS will need. PLEASE REFER TO THE PRECIS TECHNICAL MANUAL BEFORE RUNNING. Enter to continue You will be asked a series of questions. If you press return then the default answer printed in square brackets will be taken. If you make any mistakes while answering the questions in this program, then just continue, but type "no" at the final "Is this OK?" question. Configure stores your answers in the file ".setvars.cache" and these answers are used as the default responses when Configure is re-run. When no .setvars.cache file exists (the first time Configure is run, or if it is deleted) defaults are taken from the "setvars.in" file. Configure has some command line options. Do you want to see them? [no] yes You entered "yes". USAGE: Configure [-options] -h -- print this help message and exit normally -d -- use defaults for all answers Enter to continue -d Enter UMDIR, the location of PRECIS system files [/root/um] You selected the default answer: "/root/um". Enter DATADIR, the directory used by PRECIS when it is running to store control and intermediate files. [/root/precis_expt] You selected the default answer: "/root/precis_expt". Enter ANCIL_MASTER, the directory for the global master ancillaries [/root/ancil/master] You selected the default answer: "/root/ancil/master". Enter PP4LBCDIR, the location of the files required to generate the LBCs used by PRECIS. [/root/pp4lbc] You selected the default answer: "/root/pp4lbc". Enter DUMPSDIR, the directory for all initial PRECIS dumps [/root/dumps] You selected the default answer: "/root/dumps". Enter ARCHIVEDIR, the directory into which the output diagnostic files are copied. [/root/archive] You selected the default answer: "/root/archive". Enter N_PRECIS_JOBS, the number of concurrent precis jobs that can be run per single user account (i.e. 1 for a single CPU system, 2 for a dual core CPU system) [1] 2 You entered "2". Enter the base RUNID for your experiment, please note this MUST CONTAIN THREE LOWERCASE LETTERS ONLY [nak] You selected the default answer: "nak". You have chosen the following configuration: UMDIR directory is: "/root/um". Base CDAT dir: "/root/um". Ancillary master directory is: "/root/ancil/master". PP4LBCDIR is: "/root/pp4lbc". DUMPSDIR is: "/root/dumps". Data directory is: "/root/precis_expt". Generated ancillary directory is: "/root/precis_expt/ancil". Generated LBC directory at: "/root/precis_expt/lbc". Temporary directory name: "/root/precis_expt/tmp". Output will be stored in: "/root/precis_expt/precis_output". Output file archive directory: "/root/archive". GLOBALDIR is: "/root/archive/global_data". Number of concurrent PRECIS jobs per user account: "2". Three letter base for RUNID: "nak". Is this ok? [yes] yes You entered "yes". Creating .setvars.cache ### CONFIGURATION FINISHED ### Installation will now begin Installing PRECIS system ./install_precis[162]: ./Precis_vn1.9.4/um.tgz: cannot open [No such file or directory] gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now tar (child): ./Precis_vn1.9.4/precis_save.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now tar (child): ./Precis_vn1.9.4/umui_jobs.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Installing CDAT graphics ./install_precis[162]: ./Precis_vn1.9.4/cdat/cdat-3.3-compiled.tgz: cannot open [No such file or directory] gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now Installing input ancillaries ./install_precis[162]: ./Precis_vn1.9.4/ancil_master.tgz: cannot open [No such file or directory] gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now Installing global analysis/validation data ./install_precis[162]: ./Precis_vn1.9.4/global_data.tgz: cannot open [No such file or directory] gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now ./install_precis[521]: whence: xanim: not found xanim may not be installed, please install either from your Linux distribution, or from the PRECIS DVD Do you want to install the 1978-79 ERA-15 boundary data and initial dumps included on the DVD? [yes] yes You entered "yes". cp: cannot stat ‘./Precis_vn1.9.4/install_data’: No such file or directory /root/install_data[330]: cd: ./Precis_vn1.9.4: [No such file or directory] /root/install_data[345]: cd: ./Precis_vn1.9.4: [No such file or directory] /root/install_data[365]: cd: ./Precis_vn1.9.4: [No such file or directory] Installing initial dumps Installing * /root/install_data[164]: ./Precis_vn1.9.4/dumps/*.gz: cannot open [No such file or directory] gzip: stdin: unexpected end of file *** Installation complete *** REMINDER: setvars has to be sourced before precis is run for the first time. Source setvars with '. ~/setvars' before typing 'precis' 7. Is there anything that I m missing? Please help me sort out this issue at the earliest. Regards, Khandu Curtin University |
Author: | dmhg [ Wed Jun 04, 2014 12:56 pm ] |
Post subject: | Re: Installation of PRECIS |
Hi Khandu, PRECIS needs to be installed as user, not as superuser/root. Do not ever run PRECIS as root. Please delete the following directories: /root/um /root/precis_expt /root/archive /root/pp4lbc /root/dumps When you download Precis194.tgz, put in in your $HOME directory (your might be called /home/khandu or /home/precis) untar the file like this: Code: tar xvzf Precis194.tgz That should create a sub-directory called Precis_vn1.9.4/ now run the installer like this: Code: cp $HOME/Precis_vn1.9.4/install* $HOME cd $HOME ./install_precis $HOME/Precis_vn1.9.4/ You can then go through the questions and the install should be OK. When it finishes, type Code: . setvars precis Note that PRECIS requires two packages that Mint Linux may not install by default: korn shell and Imagemagick Assuming, your PC has internet access, you can install these with apt-get Code: sudo apt-get install pdksh sudo apt-get install Imagemagick You might have to run Code: sudo apt-get install ksh if pdksh does not work Hope this helps David |
Author: | nakhap [ Thu Jun 05, 2014 3:02 pm ] |
Post subject: | Re: Installation of PRECIS |
Hi David, Thanks for the detailed steps. I carried out several trials and was very near. It is the Imagemagick which did not allow me to display the interface. Thank you once again. Khandu |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |