[gmx-users] Cross-compiling: How to include an externally generated innerc.c?
spoel at xray.bmc.uu.se
Thu Jun 2 19:55:41 CEST 2005
On Thu, 2005-06-02 at 11:18 -0500, Nathan Moore wrote:
> I apologize for being so noisy on this forum lately.
> I'm cross-compiling GROMACS on ppc64 architecture for use on a different
> ppc32 parallel machine. I've worked out the details of the configure
> script and have also created a target-architecture innerc.c by running the
> program mkinl on the target ppc32 architecture. I generated mkinl in
> /src/gmxlib/ by "make mkinl". I then moved the result, "innerc.c" back to
> the directory /src/gmxlib/ and tried make. Strangely, I saw the same
> error as in previous case,
> >>> This is the GROMACS code generator for MD & MC inner loops
> >>> It will generate single precision C code in file innerc.c
> >>> Using gromacs invsqrt code
> >>> Inlining gromacs invsqrt code
> >>> Using normal solvent optimized loops
> >>> Prefetching forces in loops: none
> >>> Nonthreaded inner loops
> >>> Vectorizing invsqrt in loops:none
> Error creating file innerc.c
> make: *** [innerc.c] Error 255
> Why did configure try to make innerc.c again, when I had returned it to
> the directory src/gmxlib? Do I need to tell the config script that I'll
> generate innerc.c externally and then insert it?
Maybe a date/time problem? It will make a new file when innerc.c is
older than the source code.
You can also edit the Makefile to prevent it from running mkinl.
> Nathan Moore
> gmx-users mailing list
> gmx-users at gromacs.org
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596, 75124 Uppsala, Sweden
phone: 46 18 471 4205 fax: 46 18 511 755
spoel at xray.bmc.uu.se spoel at gromacs.org http://xray.bmc.uu.se/~spoel
More information about the gromacs.org_gmx-users