Jump to: navigation, search

2. EFIT Directory structure

To facilitate a new EFIT installation, it is best to replicate the EFIT directory structure used by the original code. This can be easily accomplished by issuing the following commands (we assume that the installation is onto a unix system, and the file system containing the EFIT files is mounted on the disk where a new installation is to take place).

  • create top-level efit directory
mkdir efit
cd efit
  • create directory "ex" to keep script files
mkdir ex
cp /c/efit/ex/* ex/.
  • create directory "p" to keep output files
mkdir p
  • create directory "x" where the local copy of EFIT resides
mkdir x
cp /c/efit/x/* x/.
  • alternative to above line to get sccs source code:
cd x
get /c/efit/s
cd ..
  • create directory "u" where EFIT programme is compiled and linked
mkdir u
cp /c/efit/u/Makefile u/.
  • create directory "green" and sub-directory structure where the Green's tables are computed
mkdir green
mkdir green/com
cp /c/efit/green/com/*.com green/com/.
mkdir green/u
cp /c/efit/green/u/*.com green/u/.
cp /c/efit/green/u/efund.for green/u/.
  • alternative to above line to get sccs source code:
cd green/u
get /c/efit/green/s
cd ../..
  • then
mkdir green/run
cp /c/efit/green/run/*.com green/run/.
cp /c/efit/green/run/ef950711.d3dpwd green/run/.
cd ..

Note that the two lines * and ** are alternative commands which enable the user to check out the sccs versions of the EFIT and EFUND codes.