#19 closed defect (fixed)
Datetime optional arguments with pgf compiler
Reported by: | frae | Owned by: | marq |
---|---|---|---|
Priority: | normal | Milestone: | 1.0 |
Component: | ropp_utils | Version: | 0.7 |
Keywords: | Cc: | dave.offiler@…, carlo.buontempo@…, axel.vonengeln@… |
Description
Still have problems with pgf95 compiler and optional arguments:
/opt/pgi/linux86/6.0/bin/pgf95 -I../build -I/data/nwp1/frae/ropp/pgfinclude -I/opt/pgi/linux86/6.0/include -c -o ../datetime/js2ymds.o `test -f '.
echo './'`../datetime/js2ymds.f90 |
Lowering Error: array upper bound is not a symbol for datatype 78 PGF90-F-0000-Internal compiler error. Errors in Lowering 1 (../datetime/js2ymds.f90: 110) PGF90/any Linux/x86 6.0-4: compilation aborted make[1]: * datetime/js2ymds.o Error 2 make[1]: Leaving directory `/net/home/h02/frae/temp/ropp_tools/build' make: * [all-recursive] Error 1
Change history (8)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Errr - no.
First, I think this is a duplicate of #13. In that case, the problem was that you compiled with an older version of some modules, and the problem occured because of this.
So, could you please revert the change and check again?
Thanks,
Chris.
comment:3 by , 19 years ago
Checked out a clean svn version from the repository (latest revision) and used datetime files from revision 659 (before I started to play around with them). Recompiled the program with these datetime files using pgf. Compilation did not work. Copied my latest datetime files into the working copy and compilation worked.
Somehow pgf wants these argument!
I leave the repository as it is.
comment:4 by , 19 years ago
Well,
I was more referring to existing module file in the search path of the compiler, such that an outdated date_time.mod (or datetime.mod) is found. This may come from a previous installation of the same library (ropp_tools), or even from some old tools90.
I am pretty sure that we fixed this with #13.
comment:5 by , 19 years ago
okay, here is a list of all module files for the pgf compiler in my /data/nwp1/frae/ropp/pgf/include directory in reverse time order. They seem to be all very recent. So I am not sure where I could pick up an old one. Sorry. You've got any idea?
-rw-r--r-- 1 frdo satsense 6278 Jun 23 13:58 portability.fi -rw-rw-r-- 1 frae satsense 2875 Jul 21 17:40 udunits.inc -rw-rw-r-- 1 frae satsense 4593 Jul 21 17:40 udunits.h -rw-rw-r-- 1 frae satsense 206346 Jul 21 17:40 f95_lapack.mod -rw-rw-r-- 1 frae satsense 792803 Jul 21 17:40 f77_lapack.mod -rw-rw-r-- 1 frae satsense 600 Jul 21 17:40 la_precision.mod -rw-rw-r-- 1 frae satsense 2359 Jul 21 17:40 la_auxmod.mod drwxrwxr-x 7 frae satsense 4096 Jul 21 17:41 .. -rw-rw-r-- 1 frae satsense 2163 Aug 2 17:01 decbufrmod.mod -rwxr-xr-x 1 frae satsense 27307 Aug 3 10:58 netcdf.h -rwxr-xr-x 1 frae satsense 48163 Aug 3 10:58 netcdf.inc -rwxr-xr-x 1 frae satsense 807993 Aug 3 10:58 netcdf.mod -rwxr-xr-x 1 frae satsense 1432 Aug 3 10:58 typesizes.mod -rwxr-xr-x 1 frae satsense 18583 Aug 3 11:00 netcdfcpp.h -rwxr-xr-x 1 frae satsense 9809 Aug 3 11:00 ncvalues.h -rwxr-xr-x 1 frae satsense 23 Aug 3 11:00 netcdf.hh -rw-r--r-- 1 frae satsense 9959 Sep 8 13:33 errpak.mod -rw-r--r-- 1 frae satsense 1265 Sep 8 13:34 errpak_global.mod -rw-r--r-- 1 frae satsense 1592 Sep 8 13:35 fiopak.mod -rw-r--r-- 1 frae satsense 5936 Sep 8 13:35 fiopak_workspace.mod -rw-r--r-- 1 frae satsense 1969 Sep 8 13:35 flib.mod -rw-r--r-- 1 frae satsense 432 Sep 8 13:36 flib_device.mod -rw-r--r-- 1 frae satsense 8412 Sep 8 13:36 math_useful_dp.mod -rw-r--r-- 1 frae satsense 8474 Sep 8 13:36 math_useful_sp.mod -rw-r--r-- 1 frae satsense 1534 Sep 8 13:36 numeric_kinds.mod -rw-r--r-- 1 frae satsense 1199 Sep 8 13:37 other_useful.mod -rw-r--r-- 1 frae satsense 1688 Sep 8 13:37 prnpak.mod -rw-r--r-- 1 frae satsense 2484 Sep 8 13:37 prnpak_global.mod -rw-r--r-- 1 frae satsense 13229 Sep 8 13:37 ranpak.mod -rw-r--r-- 1 frae satsense 1630 Sep 8 13:38 ranpak_workspace.mod -rw-r--r-- 1 frae satsense 9981 Sep 8 13:38 strpak.mod -rw-r--r-- 1 frae satsense 2581 Sep 8 13:38 timpak.mod -rw-r--r-- 1 frae satsense 2059 Sep 8 13:39 timpak_workspace.mod -rw-r--r-- 1 frae satsense 10984 Sep 8 13:39 datetimeprogs.mod -rw-r--r-- 1 frae satsense 16107 Sep 8 13:39 datetimetypes.mod -rw-r--r-- 1 frae satsense 751007 Sep 8 13:40 arrays.mod -rw-r--r-- 1 frae satsense 46198 Sep 8 13:40 datetime.mod -rw-r--r-- 1 frae satsense 3238 Sep 8 13:40 messages.mod -rw-r--r-- 1 frae satsense 10776 Sep 8 13:40 strings.mod -rw-r--r-- 1 frae satsense 13284 Sep 8 13:40 geodesy.mod -rw-r--r-- 1 frae satsense 1368 Sep 8 13:41 ropp_tools.mod -rw-r--r-- 1 frae satsense 122637 Sep 8 13:47 ropp_io_types.mod -rw-r--r-- 1 frae satsense 79473 Sep 8 13:47 ropp_io.mod -rw-r--r-- 1 frae satsense 199 Sep 8 13:47 udunits90.mod -rw-r--r-- 1 frae satsense 85575 Sep 8 13:47 udunits.mod -rw-r--r-- 1 frae satsense 273 Sep 8 13:47 ncdf90.mod -rw-r--r-- 1 frae satsense 449869 Sep 8 13:47 ncdf.mod -rw-r--r-- 1 frae satsense 13096 Sep 8 13:49 ropp_fm_types.mod -rw-r--r-- 1 frae satsense 2297 Sep 8 13:49 ropp_fm_constants.mod drwxrwxr-x 2 frae satsense 4096 Sep 8 13:49 . -rw-r--r-- 1 frae satsense 92959 Sep 8 13:49 ropp_fm.mod
comment:6 by , 19 years ago
Cc: | added; removed |
---|---|
Milestone: | 0.8 → 1.0 |
Version: | 0.8 |
comment:8 by , 18 years ago
Version: | → 0.7 |
---|
ropp_tools/datetime/js2ymds.f90 ropp_tools/datetime/ymds2js.f90
Optional arguments now included in revision 660. Hopefully resolves this ticket, but Christian, please have a look at the 2 modified files.