Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Running a test example

!!! To be updated. !!! You need to have installed GSL (GGD Standard Library). 

You can use the prepared data files. O

  1. Copy the files to your directory. 
  2. You can use the provided data files (the files soledge3x.npco_char, soledge3x.elemente, soledge3x.neighbor, and the files with the suffix '.dat'). If you wish to test the programs with your own files, do not forget to put the correct names to the command file save_input.cmd.
  3. Load the IMAS library by typing:
  4. Open the file  gsl_config.sh  and set the value of the variable HOME to the GSL source directory location.
  5. Type
    module load imasenv/3.37.0    
  6. Create the required IMAS database entry:
    imasdb eirene 
  7. Now you can compile the examples. Type
    make clean 
    make save_input 
  8. Run the program:
    ./save_input.exe 
    The program puts the grid stored in the files soledge3x.* and the data files ???? into the IMAS database  eirene .
  9. Type
    make provide_input 
  10. Run the program:
    ./provide_input.exe 
    Compare the new files  eirene.*   with the original files  soledge3x.* . ??????????????????

Structure of the command files

The program save_input.exe takes parameters from the file save_input.cmd.

Storing EIRENE triangular grids in IMAS

...