Re: [AMBER] AMBER 9 install gfortran

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 14 Feb 2011 07:41:27 -0500

2011/2/14 gromacs <ptf1242.163.com>

> Hi,
>
> WcActCB.c:1450: error: expected declaration specifiers before ‘Widget’
> WcActCB.c:1450: error: expected declaration specifiers before ‘XEvent’
> WcActCB.c:1450: error: expected declaration specifiers before ‘Cardinal’
> WcActCB.c: In function ‘WcDynamicCallbackACT’:
> WcActCB.c:1452: error: expected declaration specifiers before ‘Widget’
> WcActCB.c:1452: error: expected declaration specifiers before ‘XEvent’
> WcActCB.c:1452: error: expected declaration specifiers before ‘Cardinal’
> WcActCB.c: In function ‘WcRegisterWcActions’:
> WcActCB.c:1461: error: expected declaration specifiers before
> ‘XtAppContext’
> WcActCB.c:1463: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘WcActions’
> WcActCB.c:1463: error: ‘WcActions’ undeclared (first use in this function)
> WcActCB.c:1463: error: expected expression before ‘]’ token
> WcActCB.c:1536: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘already’
> WcActCB.c:1536: error: ‘already’ undeclared (first use in this function)
> make[2]: *** [WcActCB.o] Error 1
> make[2]: Leaving directory `/home/uqtpeng1/AMBER/amber9/src/leap/src/Wc'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/uqtpeng1/AMBER/amber9/src/leap'
> make: *** [serial] Error 2
>
> I have gfortran and i installed at different desktops. When 'sudo make
> series', the error will come. WcCreate.h:,
>

Have you applied all bug fixes to your version of Amber and AmberTools (note
there will be 2 bugfix.all files that you will have to apply.


>
> How can i solve this problem. I also cannot find a ifort in Inter website.
> Even if i download the interfortran from that site, it is not easy to
> install.
>

Make sure that you have all bug fixes applied and that you have the X
developer package installed:

On new Fedora OS's install the libXt-devel libXext-devel
libX11-devel libICE-devel libSM-devel packages.
On old Fedora OS's install the xorg-x11-devel package.
On RedHat OS's install the XFree86-devel package.
On Ubuntu OS's install the xorg-dev package.
For the moment Amber will be configured not to build XLEaP.

As far as installing the intel compiler suite; if you have obtained a
license for it (academic or commercial or whatever), you get an installer
package that you just have to launch and follow the on-screen prompts (at
least for versions as recent as 11.1.069).

Good luck!
Jason

>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Feb 14 2011 - 05:00:03 PST
Custom Search