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

From: Aldo Segura <>
Date: Mon, 9 Dec 2013 17:13:18 -0800 (PST)


What OS are you using? Linux, Mac, ...?

It seems that you need to install a library (libnetcdf-dev in Ubuntu?), you should try with the blog of Jason Swails at

please check the section "How-to Set Up Your Computer for Amber"  



Aldo Segura-Cabrera
Postdoctoral Fellow
Division of Experimental Hematology and Cancer Biology
Cancer and Blood Diseases Institute
Cincinnati Children's Hospital Medical Center
3333 Burnet Ave, MLC 7013, Cincinnati OH 45229

El Lunes, 9 de diciembre, 2013 19:28:44, Sajeewa Pemasinghe <> escribió:
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

I searched the amber12 folder  but couldn't find a conftest.c file. Could
you please give me some suggestions to overcome this error?

Thank you

Sajeewa Dewage
AMBER mailing list
AMBER mailing list
Received on Mon Dec 09 2013 - 17:30:02 PST
Custom Search