AMBER Archive (2009)

Subject: Re: [AMBER] problems compiling ambertool

From: Per Jr. Greisen (pgreisen_at_gmail.com)
Date: Mon Mar 16 2009 - 09:00:14 CDT


Hi,

the problem seems to get translocated

cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP -Dlex
embed.c
./nab -c -O0
-DDATDIR='"/xbar/nas1/gappl/gappl/ggamess/amber10/amber10/dat"'
fd_helix.nab
cc -c -DSYSV -DBINTRAJ -o frameutil.o frameutil.c
"frameutil.c", line 49: warning: implicit function declaration: setpoint
"frameutil.c", line 172: warning: implicit function declaration:
select_atoms
"frameutil.c", line 478: warning: implicit function declaration: NAB_matcpy
"frameutil.c", line 478: warning: implicit function declaration:
newtransform
"frameutil.c", line 499: warning: implicit function declaration: MAT_concat
cc -c -DDATDIR='"/xbar/nas1/gappl/gappl/ggamess/amber10/amber10/dat"'
getdist.c
cc -c -DSYSV -DBINTRAJ -o hashutil.o hashutil.c
cc -c -DSYSV -DBINTRAJ -o jacobi.o jacobi.c
cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP
lmodC.c
"lmodC.c", line 299: warning: function expects to return value:
update_archive
"lmodC.c", line 317: warning: function expects to return value:
update_archive
"lmodC.c", line 380: warning: function expects to return value: read_archive
"lmodC.c", line 387: warning: function expects to return value: read_archive
"lmodC.c", line 410: warning: function expects to return value: read_archive
"lmodC.c", line 421: warning: function expects to return value: read_archive
"lmodC.c", line 429: warning: function expects to return value: read_archive
"lmodC.c", line 719: warning: function expects to return value: rmsfit
"lmodC.c", line 766: warning: function expects to return value: rmsfit
"lmodC.c", line 1262: warning: function expects to return value: hessvec_
"lmodC.c", line 1274: warning: function expects to return value: hessvec_
"lmodC.c", line 1586: warning: function expects to return value: lmodC
"lmodC.c", line 1593: warning: function expects to return value: lmodC
"lmodC.c", line 1600: warning: function expects to return value: lmodC
"lmodC.c", line 1607: warning: function expects to return value: lmodC
"lmodC.c", line 1614: warning: function expects to return value: lmodC
"lmodC.c", line 1620: warning: function expects to return value: lmodC
"lmodC.c", line 1626: warning: function expects to return value: lmodC
"lmodC.c", line 1633: warning: function expects to return value: lmodC
"lmodC.c", line 1639: warning: function expects to return value: lmodC
"lmodC.c", line 1646: warning: function expects to return value: lmodC
"lmodC.c", line 1653: warning: function expects to return value: lmodC
"lmodC.c", line 1662: warning: function expects to return value: lmodC
"lmodC.c", line 1669: warning: function expects to return value: lmodC
"lmodC.c", line 1676: warning: function expects to return value: lmodC
"lmodC.c", line 1683: warning: function expects to return value: lmodC
"lmodC.c", line 1689: warning: function expects to return value: lmodC
"lmodC.c", line 1696: warning: function expects to return value: lmodC
"lmodC.c", line 1703: warning: function expects to return value: lmodC
"lmodC.c", line 1710: warning: function expects to return value: lmodC
"lmodC.c", line 1717: warning: function expects to return value: lmodC
"lmodC.c", line 1724: warning: function expects to return value: lmodC
"lmodC.c", line 1735: warning: function expects to return value: lmodC
"lmodC.c", line 1743: warning: function expects to return value: lmodC
"lmodC.c", line 1751: warning: function expects to return value: lmodC
"lmodC.c", line 1761: warning: function expects to return value: lmodC
"lmodC.c", line 1769: warning: function expects to return value: lmodC
"lmodC.c", line 1776: warning: function expects to return value: lmodC
"lmodC.c", line 1783: warning: function expects to return value: lmodC
"lmodC.c", line 1809: warning: function expects to return value: lmodC
"lmodC.c", line 1991: warning: function expects to return value: lmodC
"lmodC.c", line 2024: warning: function expects to return value: lmodC
"lmodC.c", line 2045: warning: function expects to return value: lmodC
"lmodC.c", line 2158: warning: function expects to return value: lmodC
"lmodC.c", line 2201: warning: function expects to return value: lmodC
"lmodC.c", line 2373: warning: function expects to return value: lmodC
cc -c -DSYSV -DBINTRAJ -o match.o match.c
cc -c -DSYSV -DBINTRAJ -o matop.o matop.c
cc -c -DSYSV -DBINTRAJ -o memutil.o memutil.c
cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP
molio.c
cc -c -DSYSV -DBINTRAJ -o molsurf.o molsurf.c
cc -c -DSYSV -DBINTRAJ -o molutil.o molutil.c
cc -c -DSYSV -DBINTRAJ -o dmcsrch.o dmcsrch.c
"dmcsrch.c", line 6: warning: invalid white space character in directive
cc -c -DSYSV -DBINTRAJ -o nab2avs.o nab2avs.c
cc -c -DSYSV -DBINTRAJ -o nab2geom.o nab2geom.c
cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP
nblist.c
"nblist.c", line 943: warning: implicit function declaration:
omp_get_thread_num
"nblist.c", line 944: warning: implicit function declaration:
omp_get_num_threads
"nblist.c", line 1035: warning: implicit function declaration: myroc
"nblist.c", line 1131: warning: implicit function declaration: free_ivector
cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP
newton.c
cc -c -DSYSV -DBINTRAJ -o nmode.o nmode.c
cc -c -DSYSV -DBINTRAJ -o chirvol.o chirvol.c
cc -c -DSYSV -DBINTRAJ -o pointutil.o pointutil.c
cc -c -DSYSV -DBINTRAJ -o prm.o prm.c
"prm.c", line 376: warning: statement not reached
"prm.c", line 2315: warning: implicit function declaration: rt_errormsg_s
cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP
rand2.c
cc -c -DSYSV -DBINTRAJ -o regexp.o regexp.c
"regexp.c", line 105: warning: initializer does not fit or is out of range:
128
cc -c -DDATDIR='"/xbar/nas1/gappl/gappl/ggamess/amber10/amber10/dat"'
reslib.c
cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP
sasad.c
cc -c -DSYSV -DBINTRAJ -o select_atoms.o select_atoms.c
lex -t mm_options.l | sed -e 's/yy/mmo/g' -e 's/stdout/nabout/' >
lex.mm_options.c
cc -c -O -DSUN -DSYSV -DBINTRAJ -xopenmp=parallel -xautopar -DOPENMP -Dlex
sff.c
"lex.mm_options.c", line 75: non-constant initializer: op "NAME"
cc: acomp failed for sff.c
*** Error code 2
make: Fatal error: Command failed for target `sff.o'

On Mon, Mar 16, 2009 at 2:50 PM, David A. Case <case_at_biomaps.rutgers.edu>wrote:

> On Mon, Mar 16, 2009, Per Jr. Greisen wrote:
> >
> > I have attached the lex.dg_options.c - my file on the sun is quite
> different
> > from my linux version...
>
> Along the lines suggested earlier, try changing line 75, from
>
> FILE *dgoin = {stdin}, *dgoout = {nabout};
>
> to
>
> FILE *dgoin = {stdin}, *dgoout = {stdout};
>
> ....dac
>
>
> _______________________________________________
> AMBER mailing list
> AMBER_at_ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber