I had similar memory related problems. Try compiling Gromacs with no optimization and rerun the grompp.<br><br><div class="gmail_quote">On Feb 7, 2008 7:45 AM, David van der Spoel &lt;<a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Chris Neale wrote:<br>&gt; I have a large system of 0.7 million atoms. This system runs fine on<br>
&gt; opterons with 4GB of ram. However, grompp gives me an error that it has<br>&gt; run out of memory on a new IBM AIX system that we have with 46GB of ram.<br>&gt; Smaller systems work fine on both processors. In both cases I am running<br>
&gt; on 4 processors.<br>&gt;<br>&gt; The IBM system is running AIX 5L 5.3, and it has eight CPU cores and<br>&gt; 46GB of available memory to the OS.<br>&gt;<br>&gt; Here is the relevant error output from grompp<br>&gt;<br>
&gt; Program grompp, VERSION 3.3.1<br>&gt; Source code file: smalloc.c, line: 137<br>&gt;<br>&gt; Fatal error:<br>&gt; realloc for dest-&gt;atom (28504800 bytes, file topcat.c, line 176,<br>&gt; dest-&gt;atom=0x0x2aa231c8)<br>
<br></div>Hard to say, you are not running with dmalloc or something like that?<br>Otherwise you can run grompp on another machine although that may be<br>slightly inconvenient of course.<br>Is this really a power 6? IBM machines always give problems when<br>
compiling for another system then what you are running it on, in<br>particular the head node where you run grompp could be a different<br>processor.<br><div><div></div><div class="Wj3C7c"><br>&gt; -------------------------------------------------------<br>
&gt;<br>&gt; &quot;I&#39;m Not Gonna Die Here !&quot; (Sphere)<br>&gt; : Not enough space<br>&gt;<br>&gt; ###<br>&gt;<br>&gt; I realize that this is a pretty clear message that I don&#39;t have enough<br>&gt; ram, but I am confused how a different architecture plus different<br>
&gt; compiler could cause such a tremendous increase in the amount of memory<br>&gt; required since the AIX has 11times the available memory as the opterons<br>&gt; (on which this grompp runs fine).<br>&gt;<br>&gt; Here is some simple memory test on the IBM AIX:<br>
&gt;<br>&gt; -bash-3.00$ ulimit -a<br>&gt; core file size &nbsp; &nbsp; &nbsp; &nbsp;(blocks, -c) 0<br>&gt; data seg size &nbsp; &nbsp; &nbsp; &nbsp; (kbytes, -d) unlimited<br>&gt; file size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (blocks, -f) unlimited<br>&gt; max memory size &nbsp; &nbsp; &nbsp; (kbytes, -m) unlimited<br>
&gt; open files &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(-n) 2000<br>&gt; pipe size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(512 bytes, -p) 64<br>&gt; stack size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(kbytes, -s) hard<br>&gt; cpu time &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (seconds, -t) unlimited<br>&gt; max user processes &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(-u) 128<br>
&gt; virtual memory &nbsp; &nbsp; &nbsp; &nbsp;(kbytes, -v) unlimited<br>&gt;<br>&gt; ###<br>&gt;<br>&gt; Here is the commands that I used to compile the source on the AIX, in<br>&gt; case that helps. To be clear, the AIX compilation works fine for smaller<br>
&gt; systems.<br>&gt;<br>&gt; export<br>&gt; PATH=/usr/vac/bin:/usr/vacpp/bin:/opt/freeware:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:.:/tools/local/bin<br>&gt;<br>&gt; export F77=xlf_r<br>
&gt; export CC=xlc_r<br>&gt; export CXX=xlc++_r<br>&gt; export FFLAGS=&quot;-O5 -qarch=pwr6 -qtune=pwr6&quot;<br>&gt; export CFLAGS=&quot;-O5 -qarch=pwr6 -qtune=pwr6&quot;<br>&gt; export CXXFLAGS=&quot;-O5 -qarch=pwr6 -qtune=pwr6&quot;<br>
&gt;<br>&gt; export FFTW_LOCATION=/hpf/data/pomes/cneale/exe/fftw-3.1.2_aix/exec<br>&gt; export GROMACS_LOCATION=/hpf/data/pomes/cneale/exe/gromacs-3.3.1_aix/exec<br>&gt; export CPPFLAGS=-I$FFTW_LOCATION/include<br>&gt; export LDFLAGS=-L$FFTW_LOCATION/lib<br>
&gt;<br>&gt; cd /hpf/data/pomes/cneale/exe/gromacs-3.3.1_aix<br>&gt; mkdir exec<br>&gt;<br>&gt; ./configure --prefix=$GROMACS_LOCATION &gt;output.configure 2&gt;&amp;1<br>&gt; make &nbsp;&gt;output.make 2&gt;&amp;1<br>&gt; make install &nbsp;&gt;output.make_install 2&gt;&amp;1<br>
&gt; make distclean<br>&gt; touch DONE_SERIAL<br>&gt;<br>&gt; echo &quot;cn-r0-10&quot; &gt; ~/.rhosts<br>&gt; echo localhost &gt; ~/host.list<br>&gt; for((i=2;i&lt;=16;i++)); do<br>&gt; &nbsp;echo localhost &gt;&gt; ~/host.list<br>
&gt; done<br>&gt; export MP_HOSTFILE=~/host.list<br>&gt;<br>&gt; ./configure --prefix=$GROMACS_LOCATION --enable-mpi --disable-nice<br>&gt; --program-suffix=&quot;_mpi&quot; CC=mpcc_r F77=mpxlf_r &gt; output.configure_mpi 2&gt;&amp;1<br>
&gt; make mdrun &gt; output.make_mpi 2&gt;&amp;1<br>&gt; make install-mdrun &gt; output.make_install_mpi 2&gt;&amp;1<br>&gt; make distclean<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
&gt; <a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>&gt; Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
&gt; Please don&#39;t post (un)subscribe requests to the list. Use the www<br>&gt; interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>&gt; Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
<br><br></div></div>--<br>David.<br>________________________________________________________________________<br><font color="#888888">David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,<br>Dept. of Cell and Molecular Biology, Uppsala University.<br>
Husargatan 3, Box 596, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;75124 Uppsala, Sweden<br>phone: &nbsp;46 18 471 4205 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fax: 46 18 511 755<br><a href="mailto:spoel@xray.bmc.uu.se">spoel@xray.bmc.uu.se</a> &nbsp; &nbsp;<a href="mailto:spoel@gromacs.org">spoel@gromacs.org</a> &nbsp; <a href="http://folding.bmc.uu.se" target="_blank">http://folding.bmc.uu.se</a><br>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br></font><div><div></div><div class="Wj3C7c">_______________________________________________<br>gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://www.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don&#39;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&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</div></div></blockquote></div><br>