1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>NWChem Frequently Asked Questions</TITLE>
<link rel="stylesheet" type="text/css" href="../../shared/nwchem_basic.css">
</HEAD>
<body text="#000000" bgcolor="#FFFFFF" link="blue" alink="blue" vlink="blue">
<table width="650"><tr><td>
<br>
<table>
<tbody>
<tr>
<td align="left" width="325"><img src="../../images/nwchem_logo_dark.gif" border=0 width=200 alt="NWChem - computational chemistry on parallel computers"></td>
<td align="right" width="325" valign="bottom">
<a href="../../nwchem_main.html">NWChem Home</a> |
<a href="../../disclaimer.html">Security & Privacy</a> |
<a href="http://www.pnl.gov" target="_blank">PNNL</a>
</td>
</tr>
</tbody>
</table>
<hr>
<table width="650">
<tbody>
<tr>
<td width="350" align="left"></td>
<td width="300" align="right"><a href="ibm_sp.html">Next FAQ Catagory</a> | <a href="NWChem_FAQ.html">Return to Main FAQ</a></td>
</tr>
</tbody>
</table>
<br><br>
<h1>NWChem FAQ</h1>
<p><h3>Linux Clusters</h3></p>
<!--DO NOT REMOVE Begin Question and End Question Comments.-->
<ul>
<!--Begin Question-->
<li><a href="#0">What hardware configuration is suggested for running NWChem on Linux cluster? </a></li>
<li><a href="#1">How do I install and run NWChem on Myrinet clusters?</a></li>
<li><a href="#2">How do I install NWChem on Giganet clusters?</a></li>
<li><a href="#3">How do I increase the shared memory segment in FreeBSD?</a></li>
<!--End Question-->
</ul>
<hr>
<p>
<a name="0"></a>
<font color="purple">What hardware configuration is suggested for running NWChem on Linux cluster?
</font>
<p>
Most of the NWChem modules are not going to perform well on large Linux clusters
that use just Fast Ethernet for communication. For optimal performance,
you need to use either <a href="#giganet">Giganet</a> or <a href="#myrinet"> Myrinet</a> interconnects.
</p>
<hr>
<p>
<a name="1"></a>
<font color="purple">How do I install and run NWChem on Myrinet clusters?
</font>
<p>
Prior to installing NWChem, you must have installed the <a href="http://www.myri.com/scs/linux/index.html">GM</a> and the
<a href="http://www.myri.com/scs/index.html"> MPICH over GM</a>
softwares on the system.
<p>Before starting the NWChem compilation, the following environmental variables
must be defined
<pre>
USE_MPI=y
GM_HOME="location of GM software"
GM_INCLUDE=$GM_HOME/include
GM_LIB=$GM_HOME/lib
ARMCI_NETWORK=GM
MPI_LOC="location of MPICH-GM software"
MPI_LIB=$MPI_LOC/lib
MPI_INCLUDE=$MPI_LOC/include
LIBMPI=-lmpich
</pre>
To run NWChem, you need to set the following enviromental variable
<pre>
GMPI_SHMEM_FILE /tmp/$USER.gm
</pre>
The next step is to launch the program. One way to do it is by using
the mpirun.ch_gm script supplied in the MPICH-GM tar file. The
command to execute is
<pre>
mpirun.ch_gm --gm-use-shmem $NWCHEM_TOP/bin/LINUX/nwchem
</pre>
or
<pre>
mpiexec $NWCHEM_TOP/bin/LINUX/nwchem
</pre>
<hr>
<p>
<a name="2"></a>
<font color="purple">How do I install NWChem on Giganet clusters?
</font>
<p>
Before starting the NWChem compilation, the following environmental variables
must be defined
<pre>
ARMCI_NETWORK=VIA
LIBMPI="-lmpipro -lpthread"
</pre>
To run NWChem, you need to set the following environmental variable
<pre>
MPI_COMM=VIA
</pre>
</p>
<hr>
<p>
<a name="3"></a>
<font color="purple">How do I increase the shared memory segment in FreeBSD?</font>
<p>
To increase the shared memory segments on FreeBSD the
following two sysctl's should be added to the startup scripts
(e.g. /etc/rc.local):
<pre>
sysctl -w kern.ipc.shmmax=67108864
sysctl -w kern.ipc.shmall=16384
</pre>
the first sysctl allocates 64Mbytes of memory, the second does
the same thing in 4k pages (4k * 16384 = 64M), you <b>must</b> set both
sysctl.
</p>
<p>
<hr>
<font size="0">
<center>
<a href="../../nwchem_main.html">NWChem</a> |
<a href="../../capabilities/nwchem_capab.html">Capabilities</a> |
<a href="../../platforms/platforms.html">Platforms</a> |
<a href="../../download.html">Download</a> |
<a href="../../doc/user/index.html">User's Manual</a> |
<a href="../../doc/prog/index.html">Programmer's Manual</a> |
<a href="../../release-notes/index.html">Release Notes</a> |
<a href="NWChem_FAQ.html">FAQ</a>
</center>
<br>
<center>
<a href="../known_bugs.html">Known Bugs</a> |
<a href="../support.html">Support</a> |
<a href="../../training/training.html">Tutorial</a> |
<a href="../../contributors.html">Contributors</a> |
<a href="../../benchmarks/index.html">Benchmarks</a> |
<a href="http://www.emsl.pnl.gov/forms/search_nwchem.html">Search</a> |
<a href="http://www.emsl.pnl.gov/docs/mssg/index.html" target="_blank">Mol Sci. Soft. Group</a> |
<a href="../../citation.html">Citation</a>
</center>
</font>
<hr>Contact: <a href="mailto:ms3distribution@emsl.pnl.gov">NWChem Support</a><br>
Updated: February 22, 2005</td>
</td></tr>
</table>
</body>
</html>
|