Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

main Class Reference

List of all members.

Public Member Functions

 main (CkArgMsg *)

Constructor & Destructor Documentation

main::main CkArgMsg *   )  [inline]
 

Definition at line 118 of file main.C.

References iINFO(), iout, iWARN(), memusage(), memusage_MB(), namd_build_date, namd_build_machine, namd_build_user, and tbsoft_sendusage().

00119   {
00120 
00121     // print banner
00122     iout << iINFO << "NAMD " << NAMD_VERSION << " for " << NAMD_PLATFORM
00123          << "\n"
00124 #ifdef MEM_OPT_VERSION
00125          << iWARN << "\n"
00126          << iWARN << "       ***  EXPERIMENTAL MEMORY OPTIMIZED VERSION  ***\n"
00127          << iWARN << "\n"
00128 #endif
00129 #if 0
00130          << iWARN << "\n"
00131          << iWARN << "          ***  UNRELEASED EXPERIMENTAL VERSION  ***\n"
00132          << iWARN << "\n"
00133 #endif
00134 #ifdef SCYLD_NOTICE
00135 
00136          << iINFO << "\n"
00137          << iINFO << "NAMD is a parallel, object-oriented molecular dynamics\n"
00138          << iINFO << "code designed for high-performance simulation of large\n"
00139          << iINFO << "biomolecular systems.  NAMD is distributed free of\n"
00140          << iINFO << "charge and includes source code.  For more information\n" 
00141          << iINFO << "please visit http://www.ks.uiuc.edu/Research/namd/\n"
00142          << iINFO << "\n"
00143          << iINFO << "******************************************************\n"
00144          << iINFO << "This version of NAMD may be distributed only as a part\n"
00145          << iINFO << "of the Scyld Beowulf CDROM and all other distribution\n"
00146          << iINFO << "is prohibited.  Any use of this software is bound by\n"
00147          << iINFO << "the terms of the NAMD License, which is available at\n"
00148          << iINFO << "http://www.ks.uiuc.edu/Research/namd/license.html\n"
00149          << iINFO << "The NAMD development team will not provide support for\n"
00150          << iINFO << "any version of NAMD unless you have first registered\n"
00151          << iINFO << "and downloaded the latest version of NAMD available at\n"
00152          << iINFO << "http://www.ks.uiuc.edu/Research/namd/\n"
00153          << iINFO << "******************************************************\n"
00154 #else
00155          << iINFO << "\n"
00156          << iINFO << "Please visit http://www.ks.uiuc.edu/Research/namd/\n"
00157          << iINFO << "and send feedback or bug reports to namd@ks.uiuc.edu\n"
00158 #endif
00159 << iINFO << "\n"
00160 << iINFO << "Please cite Phillips et al., J. Comp. Chem. 26:1781-1802 (2005)\n"
00161 << iINFO << "in all publications reporting results obtained with NAMD.\n"
00162 << iINFO << "\n"
00163          << endi;
00164 
00165     char charm_version[64];
00166     sprintf(charm_version,"%d",CHARM_VERSION);
00167 
00168 #if CHARM_VERSION < 60000
00169 #error "We do not support Charm 5 any more"
00170 #endif
00171 
00172     iout << iINFO << "Based on Charm++/Converse " << charm_version
00173          << " for " << CMK_MACHINE_NAME << "\n" << endi;
00174 
00175     iout << iINFO << "Built " << namd_build_date << " by "
00176          << namd_build_user << " on " << namd_build_machine << "\n"
00177          << endi;
00178 #ifndef NO_SOCKET
00179     char numcpus[512];
00180     sprintf(numcpus,"%d",CkNumPes());
00181     tbsoft_sendusage("NAMD",NAMD_VERSION,NAMD_PLATFORM,numcpus,"");
00182 #endif
00183 
00184 #if CMK_BLUEGENE_CHARM
00185     iout << iINFO << "Running on BigSim using " << CmiNumPes() << " real processors.\n" << endi;
00186 #endif
00187     iout << iINFO << "Running on " << CkNumPes() << " processors.\n" << endi;
00188 #if CHARM_VERSION > 60102
00189     iout << iINFO << "CPU topology information " << (CmiCpuTopologyEnabled()?"available":"unavailable") << ".\n" << endi;
00190 #endif
00191     iout << iINFO << "Charm++/Converse parallel runtime startup completed at "
00192          << CmiWallTimer() << " s\n"<< endi;
00193     const char* memsource;
00194     memusage(&memsource);
00195     iout << iINFO << memusage_MB() << " MB of memory in use"
00196          << " based on " << memsource << "\n";
00197   }


The documentation for this class was generated from the following file:
Generated on Tue Nov 24 04:07:50 2009 for NAMD by  doxygen 1.3.9.1