Re: [AMBER] netcdf compilation error in Amber12 serial installation: Couldn't compile conftest.c

From: Sajeewa Pemasinghe <sajeewasp.gmail.com>
Date: Tue, 10 Dec 2013 13:14:24 -0500

Hi Jason,

I just now downloaded the AmberTools13 and extracted. I don't see a
conftest.c file in the netcdf/src directory or anywhere in the AmberTools13
directory. Does it get created while configuration happens?

Best regards

Sajeewa


On Mon, Dec 9, 2013 at 8:40 PM, Jason Swails <jason.swails.gmail.com> wrote:

>
>
> > On Dec 9, 2013, at 7:25 PM, Sajeewa Pemasinghe <sajeewasp.gmail.com>
> wrote:
> >
> > Hi everyone,
> >
> > I have already compiled amber12 in parallel using gnu. I tried compiling
> > with pgi suite.
> >
> > After ./configure pgi
> >
> > It gives me the error
> >
> > Error: NetCDF configure returned 1
> > NetCDF configure failed! Check the netcdf_config.log file
> >
> > In the netcdf_config.log file the error is given as
> >
> > checking if Fortran "real" is C "float"... configure: error: Could not
> > compile conftest.c
>
> It seems that the pgi compilers you are trying to use do not work.
>
> >
> > I searched the amber12 folder but couldn't find a conftest.c file.
>
> It is in the NetCDF source directory.
>
> > Could
> > you please give me some suggestions to overcome this error?
>
> Use the gnu compilers or try googling how to fix your pgi compilers?
>
> Good luck,
> Jason
>
> --
> Jason M. Swails
> BioMaPS,
> Rutgers University
> Postdoctoral Researcher
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Dec 10 2013 - 10:30:03 PST
Custom Search