Skip to content

Commit

Permalink
Merge pull request #4 from MatMechLab/devel
Browse files Browse the repository at this point in the history
Devel merge
  • Loading branch information
yangbai90 authored Jan 29, 2024
2 parents 5b25ee3 + e82e669 commit 44ac0e8
Show file tree
Hide file tree
Showing 425 changed files with 5,757 additions and 2,272 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,27 +72,27 @@ jobs:
run: |
cd temp
ls -l
curl -L -O https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.gz
curl -L -O https://download.open-mpi.org/release/open-mpi/v5.0/openmpi-5.0.1.tar.gz
echo "******************************************************"
echo "*** Openmpi 4.1.5 has been downloaded !"
echo "*** Openmpi 5.0.1 has been downloaded !"
echo "******************************************************"
ls -l
- name: compile and install openmpi
run: |
echo "******************************************************"
echo "*** Start to compile openmpi-4.1.5"
echo "*** Start to compile openmpi-5.0.1"
echo "******************************************************"
cd temp
tar -xf openmpi-4.1.5.tar.gz
cd openmpi-4.1.5
tar -xf openmpi-5.0.1.tar.gz
cd openmpi-5.0.1
./configure --prefix=/home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/AsFemLibs/openmpi
make -j8
echo "******************************************************"
echo "*** Make -j8 is done for openmpi-4.1.5"
echo "*** Make -j8 is done for openmpi-5.0.1"
echo "******************************************************"
make install
echo "******************************************************"
echo "*** Make install is done for openmpi-4.1.5"
echo "*** Make install is done for openmpi-5.0.1"
echo "******************************************************"
- name: check openmpi version
run: |
Expand All @@ -109,11 +109,11 @@ jobs:
echo "*** download petsc"
echo "******************************************************"
cd /home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/temp
curl -L -O https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.18.6.tar.gz
tar -xf petsc-lite-3.18.6.tar.gz
curl -L -O https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-lite-3.20.2.tar.gz
tar -xf petsc-lite-3.20.2.tar.gz
- name: compile and install PETSc
run: |
cd /home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/temp/petsc-3.18.6
cd /home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/temp/petsc-3.20.2
echo "******************************************************"
echo "*** Configure petsc ..."
echo "******************************************************"
Expand All @@ -137,11 +137,11 @@ jobs:
echo "******************************************************"
echo "*** Make petsc ..."
echo "******************************************************"
make PETSC_DIR=/home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/temp/petsc-3.18.6 PETSC_ARCH=arch-linux-c-opt all
make PETSC_DIR=/home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/temp/petsc-3.20.2 PETSC_ARCH=arch-linux-c-opt all
echo "******************************************************"
echo "*** Install petsc ..."
echo "******************************************************"
make PETSC_DIR=/home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/temp/petsc-3.18.6 PETSC_ARCH=arch-linux-c-opt install
make PETSC_DIR=/home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}/temp/petsc-3.20.2 PETSC_ARCH=arch-linux-c-opt install
- name: compile AsFem
run: |
cd /home/runner/work/${{github.event.repository.name}}/${{github.event.repository.name}}
Expand Down
Loading

0 comments on commit 44ac0e8

Please sign in to comment.