<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Diego,<div><br></div><div>Which compiler to use is mostly a matter of your choice, depending on if you need compiler-specific optimizations or not. pgi is the compiler loaded by default, and I have had no issues with it (though I don't run on Kraken anymore).</div><div><br></div><div>As I mentioned in my previous email, you need to have the hdf5-parallel module loaded:</div><div><br></div><div>module load hdf5-parallel </div><div><br></div><div>From what I remember the proper hdf5 library for your compiler will be automatically loaded. </div><div><br></div><div>Pasted below is an example batch script, which runs on 192 processors for 4 hours. </div><div><br></div><div>For more information on Kraken (including batch script options) please see <a href="http://nics.tennessee.edu/computing-resources/kraken">http://nics.tennessee.edu/computing-resources/kraken</a>.</div><div><br></div><div>Best,</div><div><br></div><div>John</div><div><br></div><div>#!/bin/bash</div><div><div>#PBS -A your allocation number</div><div>#PBS -l size=192,walltime=04:00:00</div><div>#PBS -N your_job_name </div><div>#PBS -j oe </div><div><br></div><div># the previous line combines stdout and stderr</div><div><br></div><div>cd $PBS_O_WORKDIR</div><div>aprun -n 192 ./flash2 >> flash.out</div></div><div><br></div><div><div><div>On Jul 10, 2012, at 6:29 PM, Diego wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi John, two more question.<br><br>Now that it compiled fine I don't understand how <strong>to indicate what compiler it should use: pgi</strong>, <strong>intel</strong> and <strong>gcc.<br><br>Is there a module I should upload, like the hdf5 one?<br>
<br>And finally, can you also send me a type of the </strong>batch script (ie the script with all the info for qsub)?<br><strong><br>Cheers.<br><br>D<br></strong>
</blockquote></div><br></div></body></html>