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

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 9 Dec 2013 20:40:59 -0500

> 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
Received on Mon Dec 09 2013 - 18:00:03 PST
Custom Search