You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

openmp_container.def 525 B

3 years ago
123456789101112131415161718
  1. Bootstrap: docker
  2. From: ubuntu:latest
  3. %files
  4. openmp_example.c /opt
  5. %environment
  6. export OMPI_DIR=/home0/opt/openmpi
  7. export SINGULARITY_OMPI_DIR=$OMPI_DIR
  8. export SINGULARITYENV_APPEND_PATH=$OMPI_DIR/bin
  9. export SINGULAIRTYENV_APPEND_LD_LIBRARY_PATH=$OMPI_DIR/lib
  10. %post
  11. echo "Installing required packages..."
  12. apt-get update && apt-get install -y wget git bash gcc gfortran g++ make file
  13. echo "Compiling the MPI application..."
  14. cd /opt && gcc -o openmp_example -fopenmp openmp_example.c

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.