Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verifying ABINIT

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following commands to create a case directory and copy the case files:
    cd $ABI_TUTORIAL/Input
    mkdir Work_paral
    cd Work_paral
    cp ../tbasepar_1.files .
    cp ../tbasepar_1.in .
  3. Run the following command:
    abinit < tbasepar_1.files > log 2> err
  4. Run the following commands:
    1. Create a folder.
      mkdir tmp
    2. Add a test case file.
      vi tbase1_x.files
    3. Press i to enter the insert mode and add the following content:
      tbasepar_1.in
      tbasepar_1.out
      tbasepar_1i
      tbasepar_1o
      ./tmp/tbasepar_1 # Change the value to a path that can be accessed by each node, for example, the created tmp path. You are advised to set the value to an absolute path.
      ../../Psps_for_tests/HGH/82pb.4.hgh
    4. Press Esc, type :wq!, and press Enter to save the file and exit.
    5. Perform the computation.
      mpirun -np 2 ../../../../build/src/98_main/abinit < tbasepar_1.files >& tbasepar_1.log &

      Run the following command as the root user:

      mpirun --allow-run-as-root -np 2 ../../../../build/src/98_main/abinit < tbasepar_1.files >& tbasepar_1.log &

      Check the value of overall_cpu_time (in seconds) in the tbasepar_1.log file. A smaller value indicates better performance.

      Figure 1 shows the command output.
      Figure 1 Result example