[gmx-developers] regd. fio_close and fio_open functions
spoel at xray.bmc.uu.se
Wed Jul 9 20:17:57 CEST 2003
On Wed, 2003-07-09 at 20:09, Anjan Raghunathan wrote:
> I'd like to know if it is possible to rename the fio_close and fio_open functions defined in gmxfio.c . The reason Ineed to do this is that while trying to link the c object files created with PGI fortran I get the error that there are multiple definitions for these two functions one in libgmx_d.a and other in libpgftnrtl.a(in fortran library).
> I tried by changing the fio_open and close functions names and calls in :
> THOUGH successfully linked the code with fortran libraries. the outpu from grompp was a DEATH HORROR ERROR and mdrun was segmentation fault.
> Could anyone tell me a work around through this?
I think you're on the right track...
There are probably other files too, find out like this:
[h28n2fls34o1123:gmx/src] % grep fio_ */*c
[h28n2fls34o1123:gmx/include] % grep fio_ *h
Finally when you have replaced them all you will have to do a make clean
> Anjan V. Raghunathan
> Graduate Research Assistant
> Computational Electronics Group
> 3213 Beckman Institute,
> Univ. of Illinois at Urbana-Champaign.
> E-mail:araghuna at uiuc.edu
> Off: 217-244-1964
> Res: 217-355-5418
> gmx-developers mailing list
> gmx-developers at gromacs.org
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
Dr. David van der Spoel, Dept. of Cell and Molecular Biology
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-developers