Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPS - Installation. CD Contents CDROM has a folder /usr [\usr for WINDOWS] ls usrdir usr.

Similar presentations


Presentation on theme: "CPS - Installation. CD Contents CDROM has a folder /usr [\usr for WINDOWS] ls usrdir usr."— Presentation transcript:

1 CPS - Installation

2 CD Contents CDROM has a folder /usr [\usr for WINDOWS] ls usrdir usr

3 cps330cyg.tgz- CPS binaries for CYGWIN cps330doc.tgz- CPS Documentation in PDF cps330lnx.tgz- CPS binaries for LINUX cps330osx.tgz- CPS binaries for OSX cps330sol.tgz- CPS binaries for Solaris (SPARC) CPSInstall.doc- CPS Installation guide CPSInstall.pdf- CPS Installation guide in PDF Cygwin.dist/- Complete CYGWIN installation gmproto.tgz- High frequency ground motion scaling gs83w32.exe- GhostScript for Windows gsv46w32.exe- GhostView for Windows NP330.tgz- Current CPS source distribution rbhenv.tgz- User environment for CYGWIN setup.exe- Setup for CYGWIN tutorial.tgz- IASPEI tutorial data sets

4 Installation LINUX CPS installs in folder PROGRAMS.330. If one wishes to install in /usr/local, cd /usr/local gunzip -c /mnt/cdrom/usr/NP330.tgz | tar xf - cd PROGRAMS.330./Setup LINUX./C Binaries are in /usr/local/PROGRAMS.330/bin. To access, each user resets the PATH variable: PATH=:$PATH:/usr/local/PROGRAMS/bin

5 Installation for Solaris, MacOS-X is the same.

6 Windows Installation First install CYGWIN. Can use CD or high speed internet from www.cygwin.com From Start -> Run and browse to get the program setup.exe from the CDROM, e.g., G:\usr\setup.exe Follow the tutorial.

7 CYGWIN Provides a UNIX/LINUX environment under windows. Free Has compilers, editors, TeX, groff, graphics manipulation tools, X11, secure shell. Can do modern digital seismology on PC within windows

8 Inconveniences CYGWIN knows little about printers. However, Install GhostScript and GhostView under windows by, Start -> Run -> G:\usr\gs831w32.exe, and, Start -> Run -> G:\usr\gsv46w32.exe Create PostScript under CYGWIN, preview using ghostview, then switch out to windows to use gsview to print

9 Inconveniences Works well with US keyboard. Need feedback on how X11 works with non-US keyboards.

10 CYGWIN (continued) After CYGWIN is installed, click CYGWIN icon on desktop. A terminal window appears. Edit /etc/profile, modify.bash_profile in login directory, and from within login directory, gunzip -c /cygdrive/g/usr/rbhenv.tgz | tar xf - Start up X11 with xinit&

11 CPS330 Select directory for all to access, e.g., cd /cygdrive/c mkdir usr gunzip -c /cygdrive/g/usr/NP330.tgz | tar xf - cd PROGRAMS.330./Setup CYGWIN./C

12 CPS 330 - contents bin - 119 executables lib- libraries for compilation doc- PDF documentation in names folders: –CALPLOT.pdf/- Graphics package –GSAC.pdf/- SAC clone –IRIS.pdf/- IRIS evalresp/rdseed –OVERVIEW.pdf/- Synthetic seismograms –SOURCE.pdf/- Source mechanism –STRUCT.pdf/- Surface-wave dispersion receiver function

13 Note Some tutorials are old, however in using the programs, the ‘-h’ flag will provide the syntax for the command: [rbh@rudy]$ udtdd -h Usage: udtdd -GCARC gcarc -EVDP evdp [-h] [-?] Compute P-wave ray parameter in sec/km Example: udtdd -GCARC 31.0 -EVDP 170.0 -GCARC gcarc (default 10.0) epicentral dist deg -EVDP evdp (default 10.0) source depth km -h this command help -? this command help

14

15


Download ppt "CPS - Installation. CD Contents CDROM has a folder /usr [\usr for WINDOWS] ls usrdir usr."

Similar presentations


Ads by Google