Difference between revisions of "NairnFEAMPM"

From OSUPDOCS
Jump to navigation Jump to search
Line 33: Line 33:


<dt>Compile NairnFEA and NairnMPM Binaries</dt>
<dt>Compile NairnFEA and NairnMPM Binaries</dt>
<dd>[Download Source Code|Check out]] and [[Compile the Code Engines|compiling the binaries]] as explained in those links.</dd>
<dd>[[Download Source Code|Check out]] and [[Compile the Code Engines|compiling the binaries]] as explained in those links.</dd>


<dt>Link to Compiled Binaries</dt>
<dd>Open help window for NairnFEAMPM and see the help section on "Code Engine Development". It explains how to set the preferences to run the binaries you created in the previous step.</dd>
<dd>Open help window for NairnFEAMPM and see the help section on "Code Engine Development". It explains how to set the preferences to run the binaries you created in the previous step.</dd>
</dl>


In the future, you can just download updates to NairnFEAMPM and use it without needing to reinstall <tt>xerces</tt> or recompile binaries. If the code engines are updated, you can download just the new source code and recompile and they will run it whatever version of NairnFEAMPM you already have. You can even recompile them while running NairnFEAMPM and the next run will use the new version.
In the future, you can just download updates to NairnFEAMPM and use it without needing to reinstall <tt>xerces</tt> or recompile binaries. If the code engines are updated, you can download just the new source code and recompile and they will run it whatever version of NairnFEAMPM you already have. You can even recompile them while running NairnFEAMPM and the next run will use the new version.

Revision as of 11:29, 5 January 2021

NairnFEAMPM is a Mac-only application to create simulations, run them, and visualize them.

Introduction

The NairnFEAMPM application is finite element and material point method analysis software for the Macintosh. NairnFEAMPM is being developed by Prof. John A. Nairn from the Wood Science and Engineering Department Oregon State University. This application is free but it is a dynamic work in progress as part of an active research program.

If you are not using a Mac, you can do almost the same things using the java application NairnFEAMPMViz.

Downloads

The application NairnFEAMPM is a 64 bit, Intel-only application. Install by expanding the downloaded zip file and dragging NairnFEAMPM to your Applications folder. This application require MacOS 10.9 or newer (but no longer tested below 10.11).

NairnFEAMPM Download Size (MB) Updated
NairnFEAMPM 8.0, with Xerces - This version is a full-featured version of NairnFEAMPM for running NairnFEA and NairnMPM but it does not contain those binaries . To run calculations, you have to check out and compiling the source code and with those binaries. See application help on "Code Engine Development" for running in this mode. 3.1 4 JAN 2021

I have given up trying to stay ahead of Apple to keep this package easy to reun. Every new MacOS makes it harder. Probably the last straw was that it is not possible to provide a parallel version of the software using Apple developer tools. They do not support Open MP methods for parallel code unless you install a compiler, click clang-mp, that supports. If you are going to install that compile, it is just better to create you own binaries to best work around Apple. Below are steps to run NairnFEAMPM. Many of these only need to be done once.

Install Xerces
The cone engines use public-domain xerces package to robust reading of XML. The binary is included in the above download and Apple used all binaries to link to that executable, but that no longer seems possible. To install it:
  1. Control click on NairnFEAMPM app and choose "Show Package Contents"
  2. Navigate to folder Contents\Resources\binaries\lib
  3. Open a new Finder window, choose menu command "Go to Folder...", enter "/usr". You will need to provide you password to open this folders (that Apple does not want you to see).
  4. In /usr folder, navigate to folder /usr/local/lib (you may need to create the "local" or "lib" folders if not already there.
  5. Drag the two xerces files from the "binaries" folder in NairnFEAMPM app to /usr/local/lib.
Compile NairnFEA and NairnMPM Binaries
Check out and compiling the binaries as explained in those links.
Link to Compiled Binaries
Open help window for NairnFEAMPM and see the help section on "Code Engine Development". It explains how to set the preferences to run the binaries you created in the previous step.

In the future, you can just download updates to NairnFEAMPM and use it without needing to reinstall xerces or recompile binaries. If the code engines are updated, you can download just the new source code and recompile and they will run it whatever version of NairnFEAMPM you already have. You can even recompile them while running NairnFEAMPM and the next run will use the new version.

Apple is now switching to new chips. If you are using a new Mac that does not have Intel chips, you will likley need intsall a new xerces binary to work on the new chips too.

Free Registration

The NairnFEAMPM system is free but uses an unlocking code to help monitor its use. By registering you will hear about developments and/or about any problems that might arise. To get a free registration code, use the "Reguest Registration Code…" command in the "Help" menu. A free code will usually arrive by email within a few days. While waiting you can use the application in "Trial Mode."