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
pull adgswem
obtain a copy of the charm++ runtime system
get the test case for the “hello world” of dgswem
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) TACCwhen you build ampi for the first time using their build script, build for this architecture:
./build AMPI-only mpi-linux-x86_64 -icc -gmake adgswem. You should get an adgswem binary
Use the ampirun binary to run with p processors and vp virtual ranks.
./ampirun +p4 ./adgswem +vp112Congrats! You have just run your first load-balanced dgswem code! 🥳👯