CamCASP/Bugs/1

From CUC3
Jump to navigation Jump to search

1. Bug in type_operations.f90:

pgf90 -O2  -DPGF90 -DCADPAC -DGAMESS -DSAPT2002 -DSIGNED_INTEGER -Mpreprocess -fastsse -r8 -Bstatic
  -c /home/ajs1/camcasp-5.2/src/type_operations.f90 -o type_operations.o<br />
PGF90-S-0142-df_type is not a member of this RECORD (/home/ajs1/camcasp-5.2/src/type_operations.f90:
 478)<br />
PGF90-S-0142-df_type is not a member of this RECORD (/home/ajs1/camcasp-5.2/src/type_operations.f90:
 478)<br />
0 inform,   0 warnings,   2 severes, 0 fatal for copy_type_df_parameters

That bug would arise if the definition of type(df_parameters) in types.f90 was not consistent with the denfinition expected in type_operations.f90. The definition was recently changed, and tests on my installation (using G95 and GFortran) do not show the error.

So what could have happened?

   * Something went wrong with the svn update command and types.f90 is not the current one.
   * make did not re-build types.f90 

--alston 15:48, 19 October 2008 (BST)

Bug fixed. Problem was in the Makefile -- Makefile_body and Makefile_c were not passing correct arguments to compile.pl

AJS