AMBER Archive (2009)Subject: Re: [AMBER] NAB syntax
From: case (case_at_biomaps.rutgers.edu)
Date: Thu Sep 17 2009 - 10:22:29 CDT
On Thu, Sep 17, 2009, Michael Durney wrote:
> I am new to NAB and am trying to compile program_8.nab in the example:
>
> nab -O -c -v program_8.nab
>
> which gives the following output:
>
> cpp cmd: /programs/i386-linux/ambermd/10/bin/ucpp -l
> -I/programs/i386-linux/ambermd/10/include program_8.nab
> nab2c cmd: /programs/i386-linux/ambermd/10/bin/nab2c -nfname program_8.nab
> cc cmd: icc -I/programs/i386-linux/ambermd/10/include -O -c program_8.c
> icc: No such file or directory
> cc failed!
>
> This produces program_8.c but what is the next step?
This is hard to figure. First, do the test cases pass? Second, can you
manually compile program_8.c: "icc -c program_8.c"? Do the other examples
work? (It's not clear whether this is the first nab program you have tried,
or that other things are generally working, and program_8 is a specific
problem.)
The "icc: No such file or directory" sounds like it couldn't find program_8.c,
but you say that such a file is indeed present. Make sure that icc is in your
PATH (i.e. type "which icc").
...good luck...dac
_______________________________________________
AMBER mailing list
AMBER_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
|