Hello World: a-dgswem

Hello World: a-dgswem

a-dgswem is a load-balanced version of dgswem that works through the AMPI compiler part of the charm library. Here’s how to run your first test case on Frontera

  1. pull adgswem

  2. obtain a copy of the charm++ runtime system

  3. get the test case for the “hello world” of dgswem

  4. make sure you have intel compilers (not mvapich). here’s what I’m running with:

Currently Loaded Modules: intel/19.1.1 2) impi/19.0.9 3) git/2.24.1 4) autotools/1.2 5) python3/3.7.0 6) cmake/3.24.2 7) hwloc/1.11.12 8) xalt/2.10.34 9) TACC
  1. when you build ampi for the first time using their build script, build for this architecture:

    ./build AMPI-only mpi-linux-x86_64 -icc -g
  2. make adgswem. You should get an adgswem binary

  3. Use the ampirun binary to run with p processors and vp virtual ranks.

./ampirun +p4 ./adgswem +vp112

Congrats! You have just run your first load-balanced dgswem code! 🥳👯