Skip to content

Commit

Permalink
last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iulusoy committed Aug 21, 2024
1 parent 2835014 commit 118aa78
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 5,274 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,26 @@ jobs:
make intel_classic
make clean_build
make intel_classic_debug
# - name: set up the job and run base tests
# run: |
# if [ -z "$DYLD_LIBRARY_PATH" ]; then
# echo "DYLD_LIBRARY_PATH not set - setting it now.."
# export DYLD_LIBRARY_PATH=$MKLLIB:$DYLD_LIBRARY_PATH
# fi
# python -m pytest -svv test/test_colitest.py --cov=. --cov-report=xml
- name: set up the job and run base tests
run: |
if [ -z "$DYLD_LIBRARY_PATH" ]; then
echo "DYLD_LIBRARY_PATH not set - setting it now.."
export DYLD_LIBRARY_PATH=$MKLLIB:$DYLD_LIBRARY_PATH
fi
python -m pytest -svv test/test_colitest.py --cov=. --cov-report=xml
- name: compile powr with ifx
run: |
make
make clean_build
make debug
# - name: set up the job and run base tests
# run: |
# if [ -z "$DYLD_LIBRARY_PATH" ]; then
# echo "DYLD_LIBRARY_PATH not set - setting it now.."
# export DYLD_LIBRARY_PATH=$MKLLIB:$DYLD_LIBRARY_PATH
# fi
# python -m pytest -svv test/test_colitest.py --cov=. --cov-report=xml
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: set up the job and run base tests
run: |
if [ -z "$DYLD_LIBRARY_PATH" ]; then
echo "DYLD_LIBRARY_PATH not set - setting it now.."
export DYLD_LIBRARY_PATH=$MKLLIB:$DYLD_LIBRARY_PATH
fi
python -m pytest -svv test/test_colitest.py --cov=. --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
18 changes: 10 additions & 8 deletions src/coli.f
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ SUBROUTINE COLI
> TOTOUT, POPMIN, HTOTMINUSND, HTOTND, HTOTNDCOR,
> EDDIHINM, EDDIHINMOLD, EDDIHINT, EDDIHINTOLD,
> HTOTNDS, DELTAR, ARADTOT, ARADTESTTOT,
> DTDRIN, VDOPUNIT, CUTOPAMEANTHRES
> DTDRIN, VDOPUNIT, CUTOPAMEANTHRES, EMIXMAX

CC*** NO MORE CONTINUATION LINES ALLOWED IN BERLIN

Expand Down Expand Up @@ -575,7 +575,7 @@ SUBROUTINE COLI
> bForceCOLIP, bTDIFFUS, bPLOTRTAU1, bNoIronLaser,
> iHTOTCUT, bMAXEMIX, bALOTri,
> bNoNEGEDDIG, bDDVDOP, LPRDH,
> bDEBUG, CUTOPAMEANTHRES, DRLINES_CARD)
> bDEBUG, CUTOPAMEANTHRES, DRLINES_CARD, EMIXMAX)
DO LINEINDEX = 1, LASTIND+NAUTO
LINE(LINEINDEX) = LINEINDEX
Expand Down Expand Up @@ -896,6 +896,7 @@ SUBROUTINE COLI
ELSE
IF (BEMIXFIX) THEN
EPSG(L,IT) = AMAX1 (EMIXFIX, EPSGMAX(L))
IF (EMIXMAX .GT. .0) EPSG(L,IT)=AMIN1(EPSG(L,IT),EMIXMAX)
ELSE
IF (BEPSGMAXERR) THEN
EPSG(L,IT) = EMIXSTART
Expand All @@ -906,12 +907,12 @@ SUBROUTINE COLI
ENDIF
EPSGITMAX(IT) = MAX(EPSGITMAX(IT), EPSG(L,IT))
ENDDO
IF (bMAXEMIX) THEN
C*** New test option: Apply the maximum required EDDIMIX to ALL depth points
DO L=1, ND-1
EPSG(L,IT) = EPSGITMAX(IT)
ENDDO
ENDIF
c IF (bMAXEMIX) THEN
cC*** New test option: Apply the maximum required EDDIMIX to ALL depth points
c DO L=1, ND-1
c EPSG(L,IT) = EPSGITMAX(IT)
c ENDDO
c ENDIF
ENDDO
EPSGMAX = 0. !needed for multiple call of COLI (from Goetz)
Expand Down Expand Up @@ -1580,6 +1581,7 @@ SUBROUTINE COLI
> FERATUL, FERATLU, ELEVEL, EMCOLI,
> FTFE, IVERS_FE_EXPFAC, LPLOT_WCHARM, GAMMACOLI,
> OPAROSS, OPAROSSCONT, OPALAMBDAMEAN,
> OPAROSSELEM, OPATOTELEM,
> GAMMAT, UNLU_TAUMAX, UNLU_TAUMAX2, TEFF,
C*** die folgenden SKALAREN Parameter werden ausgereicht, weil sie sonst
C*** ueberschrieben werden!!!!???
Expand Down
Loading

0 comments on commit 118aa78

Please sign in to comment.