This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:2017shwav [2017/09/14 18:05] ljhwang [LVOC] |
software:2017shwav [2017/09/19 17:09] (current) ljhwang |
||
---|---|---|---|
Line 2: | Line 2: | ||
[[software:2017shwav:Restaurants|Local Restaurants]] | [[software:2017shwav:Restaurants|Local Restaurants]] | ||
+ | |||
+ | ---- | ||
+ | |||
==== ObsPy and InstaSeis Tutorial ==== | ==== ObsPy and InstaSeis Tutorial ==== | ||
Line 11: | Line 14: | ||
==== SW4 Tutorial ==== | ==== SW4 Tutorial ==== | ||
+ | |||
+ | ==== IRIS Data Brick ==== | ||
+ | |||
+ | Using the IRIS Data Brick at the workshop. | ||
+ | |||
+ | Many of the common FDSN web service clients allow setting the specific service locations. For this workshop the service is at: | ||
+ | |||
+ | http://10.200.65.174:8080/fdsnws/dataselect/1 (IP likely changing each day, updates will be posted) | ||
+ | or | ||
+ | http://iris-dbserver.local:8080/fdsnws/dataselect/1 (.local not consistently working) | ||
+ | |||
+ | __ | ||
+ | What is on the data brick__? Use the ‘summary’ endpoint: | ||
+ | |||
+ | http://10.200.65.174:8080/fdsnws/dataselect/1/summary | ||
+ | |||
+ | __Using with ObsPy__ | ||
+ | |||
+ | from obspy.clients.fdsn import Client | ||
+ | client = Client("IRIS", service_mappings={ | ||
+ | 'dataselect': 'http://10.200.65.174:8080/fdsnws/dataselect/1'}) | ||
+ | |||
+ | __Using with FetchData__ | ||
+ | |||
+ | $ FetchData -timeseriesws http://10.200.65.174:8080/fdsnws/dataselect/1 | ||
+ | <data selection options here> | ||
+ | |||
+ | ---- | ||
==== LVOC ==== | ==== LVOC ==== | ||
+ | Orientation [[https://computing.llnl.gov/tutorials/2017.09.18.CIG-LC_Orientation.pdf|pdf]] | ||
+ | === Wifi === | ||
+ | |||
+ | Network: LVOC Guest. | ||
+ | |||
+ | Logins are assigned. | ||
=== Login === | === Login === | ||
- | ssh -l joeuser -X quartz.llnl.gov | + | ssh -X -l class22 quartz.llnl.gov |
- | + | ssh -Y -l class22 quartz.llnl.gov | |
- | password is enter your 4-8 character static PIN plus the six digits on the RSA token with no spaces. | + | password is enter your 8 character static PIN plus the six digits on the RSA token with no spaces. |
=== Directories === | === Directories === | ||
- | Home directory: | + | Home directory: ''/g/g13/{username}'' |
- | ''/g/g13/{username}'' for example: ''/g/g13/hwang7'' | + | for example: ''/g/g13/class22'' |
- | Scratch space directory: | + | Scratch space directory: ''/p/lscratchh/{username}'' |
- | ''/p/lscratchh/{username}'' | + | Global read only directories: |
+ | /usr/apps/cigdata | ||
+ | /usr/apps/specfem | ||
+ | /usr/apps/sw4 | ||
=== Useful Commands === | === Useful Commands === | ||
Line 40: | Line 80: | ||
'' -p pReserved'' | '' -p pReserved'' | ||
- | srun -N4 pReserved myjob | + | srun -N4 -p pReserved myjob |
- | + | ||
- | #SBATCH =p pReserved | + | |
+ | sbatch -p pReserved jobscript | ||
+ | |||
+ | List all jobs: | ||
+ | squeue | ||
+ | List jobs for //username//: | ||
+ | squeue -u username | ||
+ | Show all details for a selected job: | ||
+ | checkjob jobid | ||
+ | Show job partitions: | ||
+ | sinfo -s | ||
+ | Cancel selected job(s): | ||
+ | scancel jobid(s) | ||
+ | === Modules === | ||
+ | To see what is available: | ||
+ | module avail | ||
+ | To load a package: | ||
+ | module load packagename | ||
+ | === Text editors === | ||
+ | * vi/vim | ||
+ | * emacs | ||
+ | * nedit | ||
+ | * gedit | ||
+ | * nano |