Re: [AMBER-Developers] Another error building sqm...

From: case <case.biomaps.rutgers.edu>
Date: Wed, 5 Aug 2009 17:33:08 +0100

On Wed, Aug 05, 2009, Ben Roberts wrote:

> After getting the new makefiles etc from the CVS tree this morning, I
> now get this when trying to build AmberTools:
>
> <snip>
> cpp -traditional -P sqm.f > _sqm.f
> ifort -c -O2 -FR -o sqm.o _sqm.f
> fortcom: Error: _sqm.f, line 81: Error in opening the compiled module
> file. Check INCLUDE paths. [QMMM_MODULE]
> use qmmm_module, only : qmmm_nml,qmmm_struct, qmmm_mpi,
> qm2_struct, qm_gb

Can you check the "depend" file in amber11/src/sqm? The entry for sqm.o
should contain a dependency on qmmm_module.o. That should force the module to
be made before sqm.f is compiled. You may need to do a "make depend" command
if this is not so. If the dependency *is* present in the depend file, you may
need to debug the above error message on your machine....

[For me, everything works, with both gcc (on MacOSX) and icc (on Linux).]

...dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Aug 19 2009 - 20:33:27 PDT
Custom Search