Hi David,

Thanks a lot.

Now, it works.


2006/10/19, David van der Spoel <[EMAIL PROTECTED]>:
Qiao Baofu wrote:
> Hi all,
>
> I meet a problem in compiling my program under gromacs: it always give
> the information "warning: assignment makes pointer from integer without
> a cast". The line refers to the following line with (***). I have tried
> opt2fn_NULL too.
>
> How to solve it? and can you give some introduction about the opt2fn,
> opt2set, etc?
>
> Thanks in advance!
>
>
>  t_filenm  fnm[] = {
>     { efTRX, "-f", NULL,   ffREAD  },
>     { efTPX, "-s", NULL,   ffREAD  },
>     { efNDX, "-n", NULL,   ffOPTRD },
>     { efXVG, "-o", "EC",   ffOPTWR }
>   };
>
> ***  fp=xvgropen(opt2fn("-o",NFILE,fnm),title,"t","Integrand");
>
>
>
>
> --
> Sincerely yours,
> **********************************************
> Baofu Qiao, PhD
> Frankfurt Institute for Advanced Studies
> Max-von-Laue-Str. 1
> 60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
> **********************************************
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmx-users mailing list    gmx-users@gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to [EMAIL PROTECTED] .
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
did you include xvgr.h in your program?


--
David.
________________________________________________________________________
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
[EMAIL PROTECTED]    [EMAIL PROTECTED]   http://folding.bmc.uu.se
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
_______________________________________________
gmx-users mailing list    gmx-users@gromacs.org
http://www.gromacs.org/mailman/listinfo/gmx-users
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED].
Can't post? Read http://www.gromacs.org/mailing_lists/users.php



--
Sincerely yours,
**********************************************
Baofu Qiao, PhD
Frankfurt Institute for Advanced Studies
Max-von-Laue-Str. 1
60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
**********************************************
_______________________________________________
gmx-users mailing list    gmx-users@gromacs.org
http://www.gromacs.org/mailman/listinfo/gmx-users
Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to