wiki:EarthwormTest
Last modified 10 months ago Last modified on 10/19/16 16:27:24

Here are the new commands (7.5) that I used to set up the basic test.

  • Create a run_working directory in the directory where the Earthworm project was checked out:
    $ mkdir -p ~/earthworm
    $ cd ~/earthworm
    
  • Get the basic test suite:
    $ wget http://www.isti2.com/ew/distribution/earthworm_7.5and_up_test.memphis.tar.gz
    
  • Extract the files:
    $ tar -xzvf earthworm_7.5and_up_test.memphis.tar.gz
    
  • Modify the EW_HOME and EW_VERSION values in the script for your OS. For Linux it is memphis/params/ew_linux.bash:
export EW_HOME=~/earthworm
export EW_VERSION=earthworm-working
export EW_PARAMS=${EW_HOME}/memphis/params/
export EW_LOG=${EW_HOME}/memphis/logs/
  • Read the script for your OS:
$ source memphis/params/ew_linux.bash
  • Run the Earthworm system:
$ startstop

See memphis/params/README.memphis.test for more details.

Here are the old commands (before 7.5) that I used to set up the basic test.

  • Create a run_working directory in the directory where the Earthworm project was checked out:
    $ mkdir ~/earthworm/run_working
    $ cd ~/earthworm/run_working
    
  • Get the basic test suite:
    $ wget http://www.isti2.com/ew/distribution/earthworm_test.memphis.tar.gz
    
  • Extract the files:
    $ tar -xzvf earthworm_test.memphis.tar.gz
    
  • Modify the EW_HOME and EW_VERSION values in the script for your OS. For Linux it is memphis/params/ew_linux.bash:
export EW_HOME=~/earthworm
export EW_VERSION=earthworm-working
  • Read the script for your OS:
$ source memphis/params/ew_linux.bash
  • Run the Earthworm system:
$ startstop

Adding the ewintegrate module

  • I copied an existing ewintegrate configuration file to the memphis test:
    $ cp ~/earthworm/earthworm-working/params/ewintegrate.d ~/earthworm/run_working/memphis/params
    
  • I modified the ewintegrate configuration file ~/earthworm/run_working/memphis/params/ewintegrate.d:
    - GetSCNL  NP2 BHE ZZ --   NP2 xHE ZZ 00
    + GetSCNL  MPH LHE NM --   MPH xHE NM 00
    
  • I modified the earthworm configuration file ~/earthworm/run_working/memphis/params/earthworm.d:
    + Module   MOD_EWINTEGRATE    51
    
  • I added ewintegrate to the startstop configuration file ~/earthworm/run_working/memphis/params/startstop_unix.d:
    # PriorityClass     Normal
    # ThreadPriority    Normal
    # Display           NoNewConsole
    #
     Process          "ewintegrate ewintegrate.d"
     Class/Priority    OTHER 0