Skip to content

Commit

Permalink
test linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-seaice committed Jul 22, 2024
1 parent 3c7a500 commit f3cf3e7
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 56 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/test-cice_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,12 @@ jobs:
echo "OS: ${{ matrix.os }}"
echo "ENVDEF: ${{ matrix.envdef }}"
echo "MINICOND: ${{ matrix.minicond }}"
- name: link
shell: /bin/bash {0}
- name: make test directories
run: |
ln -s . ${HOME}/cice
# ls -al ${HOME}/
# ls -al ${GITHUB_WORKSPACE}/
mkdir -p cice-dirs/runs cice-dirs/baseline cice-dirs/input
- name: check for tabs
run: |
cd ${HOME}/cice/cicecore
cd /cice/cicecore
set cnt = 0
set ffiles = `find -P . -iname "*.f*"`
set cfiles = `find -P . -iname "*.c*"`
Expand Down Expand Up @@ -107,22 +104,22 @@ jobs:
# mpifort --showme:incdirs
- name: check setup case
run: |
cd $HOME/cice
# cd cice
./cice.setup -m conda -e ${{ matrix.envdef }} -c case0 --pes 1x1 -s diag1
- name: check setup test
run: |
cd $HOME/cice
# cd $HOME/cice
./cice.setup -m conda -e ${{ matrix.envdef }} --test smoke --testid c0
- name: run hello world unit test
run: |
cd $HOME/cice
# cd $HOME/cice
./cice.setup -m conda -e ${{ matrix.envdef }} --test unittest --pes 2x1 -s helloworld --testid hw01
cd *helloworld*hw01
./cice.build
./cice.run
- name: check cice compile
run: |
cd $HOME/cice
cd (${GITHUB_WORKSPACE})/cice
./cice.setup -m conda -e ${{ matrix.envdef }} -c case1 --pes 2x2 -s diag1
cd case1
./cice.build
Expand Down
97 changes: 51 additions & 46 deletions configuration/scripts/tests/unittest_suite.ts
Original file line number Diff line number Diff line change
@@ -1,48 +1,53 @@
# Test Grid PEs Sets BFB-compare
smoke gx3 8x2 diag1,run5day
smoke gx3 4x2x25x29x4 debug,run2day,dslenderX2
#smoke gx3 8x2 diag1,run5day
#smoke gx3 4x2x25x29x4 debug,run2day,dslenderX2
unittest gx3 1x1 helloworld
unittest gx3 1x1 calchk,short
unittest gx3 4x1x25x29x4 sumchk
unittest gx3 1x1x25x29x16 sumchk
unittest tx1 8x1 sumchk
unittest tx1 8x1 sumchk,tripolet
unittest gx3 4x1 bcstchk
unittest gx3 1x1 bcstchk
unittest gx3 8x2 gridavgchk,dwblockall
unittest gx3 12x1 gridavgchk
unittest gx1 28x1 gridavgchk,dwblockall
unittest gx1 16x2 gridavgchk
unittest gbox128 8x2 gridavgchk
unittest gbox80 1x1x10x10x80 halochk,cyclic,debug
unittest gbox80 1x1x10x10 halochk,cyclic,debug
unittest gbox80 1x1x24x23x16 halochk
unittest gbox80 1x1x24x23 halochk
unittest gbox80 1x1x23x24x16 halochk,cyclic
unittest gbox80 1x1x23x24 halochk,cyclic
unittest gbox80 1x1x23x23x16 halochk,open
unittest gbox80 1x1x23x23 halochk,open
unittest tx1 1x1x90x60x16 halochk,dwblockall
unittest tx1 1x1x90x60 halochk,dwblockall
unittest tx1 1x1x90x60x16 halochk,dwblockall,tripolet
unittest tx1 1x1x90x60 halochk,dwblockall,tripolet
unittest tx1 1x1x95x65x16 halochk,dwblockall
unittest tx1 1x1x95x65 halochk,dwblockall
unittest tx1 1x1x95x65x16 halochk,dwblockall,tripolet
unittest tx1 1x1x95x65 halochk,dwblockall,tripolet
unittest gx3 4x2 halochk,dwblockall,debug
unittest gx3 8x2x16x12x10 halochk,cyclic,dwblockall
unittest gx3 8x2x16x12 halochk,cyclic,dwblockall
unittest gx3 17x1x16x12x10 halochk,open,dwblockall
unittest gx3 17x1x16x12 halochk,open,dwblockall
unittest tx1 4x2 halochk,dwblockall
unittest tx1 4x2 halochk,dwblockall,tripolet
unittest tx1 4x2x65x45x10 halochk,dwblockall
unittest tx1 4x2x65x45 halochk,dwblockall
unittest tx1 4x2x57x43x12 halochk,dwblockall,tripolet
unittest tx1 4x2x57x43 halochk,dwblockall,tripolet
unittest gx3 1x1 optargs
unittest gx3 1x1 opticep
unittest gx3 4x2x25x29x4 debug,run2day,dslenderX2,opticep,cmplog smoke_gx3_4x2x25x29x4_debug_dslenderX2_run2day
unittest gx3 4x2x25x29 debug,run2day,dslenderX2,opticep,cmplog smoke_gx3_4x2x25x29x4_debug_dslenderX2_run2day
unittest gx3 8x2 diag1,run5day,opticep,cmplog smoke_gx3_8x2_diag1_run5day
#unittest gx3 1x1 calchk,short
#unittest gx3 4x1x25x29x4 sumchk
#unittest gx3 1x1x25x29x16 sumchk
#unittest tx1 8x1 sumchk
#unittest tx1 8x1 sumchk,tripolet
#unittest gx3 4x1 bcstchk
#unittest gx3 1x1 bcstchk
#unittest gx3 8x2 gridavgchk,dwblockall
#unittest gx3 12x1 gridavgchk
#unittest gx1 28x1 gridavgchk,dwblockall
#unittest gx1 16x2 gridavgchk
#unittest gbox128 8x2 gridavgchk
#unittest gx3 8x2 gridloadchk,dwblockall
#unittest gx3 12x1 gridloadchk
#unittest gx1 28x1 gridloadchk,dwblockall
#unittest gx1 16x2 gridloadchk
#unittest gbox128 8x2 gridloadchk
#unittest gbox80 1x1x10x10x80 halochk,cyclic,debug
#unittest gbox80 1x1x10x10 halochk,cyclic,debug
#unittest gbox80 1x1x24x23x16 halochk
#unittest gbox80 1x1x24x23 halochk
#unittest gbox80 1x1x23x24x16 halochk,cyclic
#unittest gbox80 1x1x23x24 halochk,cyclic
#unittest gbox80 1x1x23x23x16 halochk,open
#unittest gbox80 1x1x23x23 halochk,open
#unittest tx1 1x1x90x60x16 halochk,dwblockall
#unittest tx1 1x1x90x60 halochk,dwblockall
#unittest tx1 1x1x90x60x16 halochk,dwblockall,tripolet
#unittest tx1 1x1x90x60 halochk,dwblockall,tripolet
#unittest tx1 1x1x95x65x16 halochk,dwblockall
#unittest tx1 1x1x95x65 halochk,dwblockall
#unittest tx1 1x1x95x65x16 halochk,dwblockall,tripolet
#unittest tx1 1x1x95x65 halochk,dwblockall,tripolet
#unittest gx3 4x2 halochk,dwblockall,debug
#unittest gx3 8x2x16x12x10 halochk,cyclic,dwblockall
#unittest gx3 8x2x16x12 halochk,cyclic,dwblockall
#unittest gx3 17x1x16x12x10 halochk,open,dwblockall
#unittest gx3 17x1x16x12 halochk,open,dwblockall
#unittest tx1 4x2 halochk,dwblockall
#unittest tx1 4x2 halochk,dwblockall,tripolet
#unittest tx1 4x2x65x45x10 halochk,dwblockall
#unittest tx1 4x2x65x45 halochk,dwblockall
#unittest tx1 4x2x57x43x12 halochk,dwblockall,tripolet
#unittest tx1 4x2x57x43 halochk,dwblockall,tripolet
#unittest gx3 1x1 optargs
#unittest gx3 1x1 opticep
#unittest gx3 4x2x25x29x4 debug,run2day,dslenderX2,opticep,cmplog smoke_gx3_4x2x25x29x4_debug_dslenderX2_run2day
#unittest gx3 4x2x25x29 debug,run2day,dslenderX2,opticep,cmplog smoke_gx3_4x2x25x29x4_debug_dslenderX2_run2day
#unittest gx3 8x2 diag1,run5day,opticep,cmplog smoke_gx3_8x2_diag1_run5day

0 comments on commit f3cf3e7

Please sign in to comment.