Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

ucvm_setup.py message to user #3

Closed
pjmaechling opened this issue Jan 5, 2017 · 1 comment
Closed

ucvm_setup.py message to user #3

pjmaechling opened this issue Jan 5, 2017 · 1 comment

Comments

@pjmaechling
Copy link
Contributor

At the end of the successful build, the ucvm_setup.py script prints information to the user which may be lost in the terminal display. This information should be presented to the user in a more permanent form so it is not lost if the terminal window is closed.

-- Done installing UCVM!

Thank you for installing UCVM. Please export the following library paths (note this is in Bash format):
LD_LIBRARY_PATH=/home/scec-00/maechlin/ucvm17/lib/euclid3/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=/home/scec-00/maechlin/ucvm17/lib/proj-4/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=/home/scec-00/maechlin/ucvm17/model/cvms426/lib:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=/home/scec-00/maechlin/ucvm17/model/cencal/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

We recommend adding the above lines to the end of your ~/.bashrc file so that
they are preserved for the next time you login.

To try out ucvm, type the following commands into your shell:
cd /home/scec-00/maechlin/ucvm17/bin
./ucvm_query -f ../conf/ucvm.conf -m [model] < list_of_points.txt
(where model is one of the models you installed: cvms, cvmsi, cvmh, or cencal)

Please try this example:
cd /home/scec-00/maechlin/ucvm17/bin
./ucvm_query -f ../conf/ucvm.conf -m cvms < ../tests/cvms_input.txt
You will then see the following output:
Using Geo Depth coordinates as default mode.
-118.0000 34.0000 0.000 280.896 390.000 cvms 696.491 213.000 1974.976 none 0.000 0.000 0.000 crust 696.491 213.000 1974.976

A copy of all the commands to setup UCVM has been saved at ./setup_log.sh

You can view man pages for each command by typing man -M ./man [command name].

We strongly encourage you to run the UCVM tests by typing 'make check'
without quotation marks.

@pjmaechling
Copy link
Contributor Author

This message has been added to the installation page on the wiki.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant