Hi David,<br><br>Thanks a lot.<br><br>Now, it works.<br><br><br><div><span class="gmail_quote">2006/10/19, David van der Spoel <<a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Qiao Baofu wrote:<br>> Hi all,<br>><br>> I meet a problem in compiling my program under gromacs: it always give<br>> the information "warning: assignment makes pointer from integer without<br>> a cast". The line refers to the following line with (***). I have tried
<br>> opt2fn_NULL too.<br>><br>> How to solve it? and can you give some introduction about the opt2fn,<br>> opt2set, etc?<br>><br>> Thanks in advance!<br>><br>><br>> t_filenm fnm[] = {<br>> { efTRX, "-f", NULL, ffREAD },
<br>> { efTPX, "-s", NULL, ffREAD },<br>> { efNDX, "-n", NULL, ffOPTRD },<br>> { efXVG, "-o", "EC", ffOPTWR }<br>> };<br>><br>> *** fp=xvgropen(opt2fn("-o",NFILE,fnm),title,"t","Integrand");
<br>><br>><br>><br>><br>> --<br>> Sincerely yours,<br>> **********************************************<br>> Baofu Qiao, PhD<br>> Frankfurt Institute for Advanced Studies<br>> Max-von-Laue-Str. 1
<br>> 60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529<br>> **********************************************<br>><br>><br>> ------------------------------------------------------------------------<br>>
<br>> _______________________________________________<br>> gmx-users mailing list <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>> <a href="http://www.gromacs.org/mailman/listinfo/gmx-users">
http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>> Please don't post (un)subscribe requests to the list. Use the<br>> www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org
</a>.<br>> Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a><br>did you include xvgr.h in your program?<br><br><br>--<br>David.<br>________________________________________________________________________
<br>David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,<br>Dept. of Cell and Molecular Biology, Uppsala University.<br>Husargatan 3, Box 596, 75124 Uppsala, Sweden<br>phone: 46 18 471 4205 fax: 46 18 511 755
<br><a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a> <a href="mailto:spoel@gromacs.org">spoel@gromacs.org</a> <a href="http://folding.bmc.uu.se">http://folding.bmc.uu.se</a><br>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<br>_______________________________________________<br>gmx-users mailing list <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users
</a><br>Please don't post (un)subscribe requests to the list. Use the<br>www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/mailing_lists/users.php">
http://www.gromacs.org/mailing_lists/users.php</a><br></blockquote></div><br><br clear="all"><br>-- <br>Sincerely yours,<br>**********************************************<br>Baofu Qiao, PhD<br>Frankfurt Institute for Advanced Studies
<br>Max-von-Laue-Str. 1<br>60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529<br>**********************************************