- matteoalberti Matteo Alberti
- davydenk Irina Davydenkova
- ElenaDep Elena De Paoli
- NataNazar Natalia Nazarova
This package contains simplified MD code with multi-threading parallelization for simulating atoms with a Lennard-Jones potential.
python 3.6.5 openmpi version 3 or higher
!!! always make clean
before anything
make shared
to create shared libraries for serial versionmake shared_mpi
to create shared libraries for mpi versionmake shared_openmp
to create shared libraries for openmp versionmake shared_mpi_openmp
to create shared libraries for mixed version
Then the go to the examples
folder (or any subfolder where you place .inp
files) and run pytho3 ../ljmd.py < INPUT_FILE
to execute or mpirun -np N pytho3 ../ljmd.py < INPUT_FILE
if you are using the mpi
version
make
- will create the simplest possible executable (currently the default target)make mpi
- the executable for shared_mpimake openmpi
- the executable withopenmp
enabledmake mpi_openmp
- the executable with bothmpi
andopenmp
enabled
Then go to the examples
folder (or any subfolder where you place .inp
files) and run ../ljmd.x < INPUT_FILE
to execute for non-mpi.
!!! make clean
before anything and make ONE OF THE ABOVE OPTIONS
to create your libraries/executables
make check
to check python (aftermake shared
ormake shared_openmp
)make mpi_check
to check python (aftermake shared_mpi
ormake shared_mpi_openmp
)make check_c
to check c code (aftermake
ormake openmp
)make mpi_check_c
to check c mpi code (aftermake mpi
ormake mpi_openmp
)
A complete report is available inside /mpi_report
folder.
We want to report here just the Strong Scaling plots
A complete report is availabe inside openmp_report
folder