Test+Problem+Data+Access

=**Access to data and software for creating test problem initial conditions**= Pages: Workshop, Overview, CADAC, **Data Access**, Work Area Setup, Path Setup, Utilities, Grid Data, SPH Data, Running, Reporting, LOG

You need a CADAC account to access the data and the software, and to upload results.

Data files and software for the test problems are located in CADAC subdirectories, accessible under **/gpfs-wan/projects/cadac/** from **dsdirect.sdsc.edu** (or else from a Storage Resource Broker (SRB) client elsewhere -- see [|http://cadac.sdsc.edu/doc/srbclient.html)]).

Initial Data Files
The initial conditions to be used in the test problems are placed in the SRB directories /CADAC/KITP07/ICS/ and /CADAC/KITP07/ICS/data. To list the contents of these directories with a normal UNIX command, login to **dsdirect.sdsc.edu**, and do (use copy & paste): code ls -l /gpfs-wan/projects/cadac/srbVault/aake.cadac/CADAC/KITP07/{ICS,ICS/data} code The **data** subdirectory contains the actual data files while the main ICS directory contains the utility input files used when computing the data files. Statistics intended for "sanity checks" are available here.

The original, 1000^3 snap shots from which the initial conditions are derived are in the **cm1000b** subdirectory; see code ls -l /gpfs-wan/projects/cadac/srbVault/aake.cadac/CADAC/KITP07/ICS/cm1000b code

Storage Resource Broker (SRB) access
To access the **data** files with [|SRB commands], do code cd Sinit Scd /CADAC/KITP07/ICS Sls -l data Sls -l cm1000b code The "Sinit" command logs you into the SRB system; [|you need information obtained with your CADAC account to do this].

//**Note, however, that since all files can be access through UNIX mechanisms you can start to work on producing initial value files even before you have an SRB setup (a working "Sinit"). You only need the SRB access to store your uploaded results.**//

Copying and Reading the Initial Data Files
If all you need is to copy the initial value data to some other machine and read it there you can use **scp** or a [|TeraGrid utility] to copy one of the precomputed initial value data files, and then read the data with IDL there. In this case you may not need to do more on **datastar**.

Note that binary files on **datastar** are "big-endian" -- IDL can handle this transparently using the /swap_if_little_endian OPENR option. The **ifort** compiler also has options that may be used to read both types of -endian files on any machine.

Work Area and Utilities
If you need slightly different initial data, tailored to your code, the next steps you need are to setup a work area and to add a public bin directory to your UNIX path.