<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>I finished installing on betazoid here at CCT. Here's a complete log. I used Barry's config file, but also put in many additional notes:</div><div><br></div><div><br></div><div><div>% cat install_notes.txt </div><div><br></div><div>- OS X 10.7.4</div><div><br></div><div>I. Xcode:</div><div>------------</div><div>-Xcode: cf. http://guide.macports.org/chunked/installing.xcode.html</div><div>- XCode from App Store (free). Current version is 4.3.2, but apparently 3.2.6 was already installed. MacPorts (next) was detecting the 3.2.6 version and refused to run. Had to go into /Applications and run </div><div>% open -a Xcode </div><div>which brought up 4.3.2, with some installation dialog boxes. After that, since /Developer was used for previous versions but not anymore, did a </div><div>% sudo mv /Developer /Developer.O </div><div>Also had to run </div><div>% sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer</div><div>Then add the command line tools: Run Xcode, go to Preferences > Downloads</div><div><br></div><div><br></div><div>II. MacPorts:</div><div>-----------------</div><div>- MacPorts binary package from MacPorts website</div><div><br></div><div>(</div><div>- Optinal: Pallet: (also a good test to see if MacPorts is set up properly)</div><div>% sudo port install pallet</div><div>...and say yes to install Java runtime. Pallet then appears in the /Applications directory, or can be run from command line via % open -a pallet </div><div>(This Mac's filesystem is case-insensitive btw) </div><div> Pallet doesn't actually work well on Lion for installing packages, but can be useful to get a quick list of packages. Installation of other packages should still be done using "port" command.</div><div>)</div><div><br></div><div>- add /opt/local/bin to PATH.</div><div><br></div><div>III. MacPorts Packages</div><div>----------------------------</div><div>- Following Barry Wardell's notes, adding the revision control packages:</div><div>% sudo port install szip gcc46 fftw fftw-3 gsl openssl hdf5-18 +gcc46 -universal zlib openmpi +gcc46 mercurial git-core subversion cvs</div><div><br></div><div>IV. Einstein Toolkit (ETK)</div><div>-----------------------------------</div><div>- Downloaded ETK as per Wiki Download page. Used current development version</div><div>- Built via simfactory (because I wanted to learn how to do that):</div><div> Created a simple machine file: ~Cactus/simfactory/mdb/machines/betazoid.ini based on Peter's file for his laptop</div><div> - In betazoid.ini, referenced Barry's osx-lion-macports-gcc.cfg file</div><div>Then built:</div><div> % cd ~/Cactus; simfactory/bin/sim build etk --thornlist=thornlists/einsteintoolkit.th</div><div><br></div><div>- Ran qc0-mclachlan:</div><div>(</div><div>Optional: Use OpenMP:</div><div> % setenv OMP_NUM_THREADS 4</div><div>)</div><div>% cd ~/Cactus/par; ../exe/cactus_etk qc0-mclachlan.par</div><div>I changed cctk_final_time to 1.0 instead of 100.0 so the thing would finish quickly... Should have set it to 0.25!</div><div><br></div><div><br></div><div>V. Visit & CarpetHDF5</div><div>-------------------------------</div><div>- Installed 64-bit Mac binary package of Visit 2.4.2 from Visit website.</div><div>- Downloaded CarpetHDF5 as per website</div><div>% cd ~; svn co https://svn.cactuscode.org/VizTools/CarpetHDF5/trunk/ CarpetHDF5</div><div>% cd ~/CarpetHDF5</div><div>% setenv PATH "/Applications/VisIt.app/Contents/Resources/bin/ $PATH" // I use tcsh :-)</div><div><br></div><div>- Need to get Cmake:</div><div>% sudo port install cmake</div><div><br></div><div>- And since the binary of Visit expects various libraries in /usr/lib/, we do</div><div>% sudo ln -s /opt/local/lib/libmpi* /opt/local/lib/libopen-rte.* /opt/local/lib/libopen-pal.* /usr/lib</div><div>..Feel free to compile Visit from source if you want to skip this step...</div><div><br></div><div><br></div><div>- Then run the install script</div><div>% ./install</div><div>Note that the window appears *under* the terminal window you're using! </div><div>Click the CMake tab, and set</div><div> /Applications/VisIt.app/Contents/Resources/2.4.2/darwin-x86_64/</div><div>CXXFLAGS = -I/Applications/VisIt.app/Contents/Resources/2.4.2/darwin-x86_64/include -I/opt/local/include</div><div>LDFLAGS = -L/Applications/VisIt.app/Contents/Resources/2.4.2/darwin-x86_64/lib -L/opt/local/lib</div><div><br></div><div>- Saved the file, quit xmledit and the plugin builds!</div><div><br></div><div>- Run visit with the -noconfig option.</div><div>% cd ~/Cactus/par/qc0-mclachlan/; visit -noconfig</div><div><br></div><div>- Choose, e.g dambase::lapse.h5</div><div>It Works! :-)</div></div><div><br></div></body></html>