Custom Query (964 matches)
Results (28 - 30 of 964)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#29 | Fixed | Bugs in Master/mct_roms_wrf.h | ||
Description |
A few bugs, discovered while trying to compile BL_TEST case:
Modified version attached. However BL_TEST still won't compile, I get cd Build; g95 -c -fno-second-underscore -O3 -ffast-math ad_conv_3d.f90 /usr/bin/cpp -P -traditional -I/usr/local/include-g95 -DCYGWIN -DI686 -DG95 -D'ROOT_DIR="/tmp/hadfield/src"' -DBL_TEST -D'HEADER="bl_test.h"' -D'ROMS_HEADER="bl_test.h"' -DNestedGrids=1 -D'ANALYTICAL_DIR="/tmp/hadfield/src/ROMS/Functionals"' -D'SVN_REV="exported"' -IROMS/Include -IROMS/Adjoint -IROMS/Nonlinear -IROMS/Representer -IROMS/Tangent -IROMS/SeaIce -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -IMaster -D'HEADER_DIR="./ROMS/Include"' ROMS/Adjoint/ad_convolution.F > Build/ad_convolution.f90 ROMS/Adjoint/ad_convolution.F:1: cppdefs.h: No such file or directory |
|||
#31 | Fixed | ana_psource.h problem | ||
Description |
When compiled with explicit-shape declarations, subroutine ana_psource_grid (file ROMS/Functionals/ana_psource.h, revision 48) contains
and later there are several arguments dimensioned with this, eg:
So Lsrc, Isrc, etc are dimensioned with an intent(out) argument, which is illegal and obviously problematic, as the compiler needs to knwo the dimensions before calling the subroutine. However Nsrc can't be made intent(in) as its value is specified inside the subroutine. Arguments Lsrc, Isrc, etc need to be declared with the same dimensions as the actual arrays they correspond to, namely SOURCES(ng)%Lsrc, SOURCES(ng)%Isrc, etc. The dimensions are determined when they are allocated in subroutine allocate_sources, module mod_sources, the declarations above should be
This value has to be fed to the subroutine somehow. I've done it with #ifndef ASSUMED_SHAPE
#endif but alternatively it could be fed in as an extra argument. Corrected file is attached. |
|||
#32 | Fixed | Control application cpp flags from make command line | ||
Description |
Test cases CANYON and FLT_TEST have 2D and 3D variants. Currently the respective application header files start with #undef SOLVE3D and you have to override that somehow to get the 3D case. As far as I know, the only way to do that is to edit the file. It would be nice to be able to choose between the 2D or 3D versions via the make command line. At the moment there are 2 obstacles:
then you will override all the CPPFLAGS values constructed in the make file. So I have made two changes:
So to compile the 3D canyon
I imagine this will be useful in other contexts. Files attached. |