Putting in CMPR on Mac OSX

CMPR may be loaded both in a self-updating set up or as a static set up. The self-updating model causes the most recent model of CMPR to be put in from the Argonne subversion server and in addition permits future updates to be put in from throughout the CMPR program. The static set up package deal is up to date much less incessantly and requires that you just obtain and reinstall the package deal file to replace. I like to recommend you utilize one of many self-updating set up strategies, as that is simpler throughout. If you happen to shouldn’t have simple web entry, otherwise you work inside a extremely safe computing surroundings, it’s possible you’ll be discover that entry to the subversion server is blocked and that your solely choice is to petition the rulers of the community to open entry to the server (they actually ought to) or to make use of the static set up. Be aware that self-updating set up really consists of two variations of CMPR, a secure model that’s thought-about to be comparatively bug-free and a improvement model that’s actively being improved — you possibly can choose between these variations from the Assist menu. From time-to-time the enhancements within the improvement model are transferred over to the secure model. Within the static set up, solely the secure model is offered.

Conditions

For CMPR to run on Mac OS X, you need to have the X Home windows system (X11) put in. Whereas in earlier variations of OS X (<=10.7), this was distributed with the OS, now one should use the “external” XQuartz software, for 11.6 and later. Please you should definitely set up the most recent model XQuartz (2.7.11 as of 10/2016). Be aware that variations earlier than 2.7.8 didn’t all the time create the hyperlink from /usr/X11 or /decide/X11 to /usr/X11R6 that CMPR’s Tcl/Tk? wants. Be aware that each time that you just replace OS X, you’ll probably must reinstall XQuartz even when the identical model, to recreate this hyperlink.

Downloading the self-upgrading model of CMPR is finished utilizing a program referred to as subversion (svn). Subversion comes preloaded on Leopard (10.5) and Snow Leopard techniques (10.6). Customers of Tiger (10.4) might want to set up subversion, (described elsewhere). Beginning with OS X 10.7, svn may be put in semi-automatically: to do that open a Terminal window and sort svn after which press enter. You’ll get a “command not found error”, however a window will open asking if you wish to set up svn. You don’t want to put in all of Xcode, solely the utilities — when ask.

See also  Remove YAC (Removal Guide)

Set up of Fortran just isn’t required apart from customers preferring to compile applications for themselves. That is attainable with CMPR, aside from the DICVOL06 program, the place the supply code just isn’t distributed. See the common unix set up web page for info on compiling applications.

Self-Updating Set up

Downloading the self-upgrading model of CMPR is finished utilizing a program referred to as subversion (svn). It’s possible you’ll want to put in this, see above.

1. Putting in self-upgrading CMPR from a distribution file (most well-liked)

On this technique of distribution, a small variety of Mac-specific recordsdata are downloaded after which the remaining CMPR recordsdata are put in utilizing svn from a python script. So far as I’m conscious, all variations of OS X include python pre-installed. Be aware there are two Mac CMPR distributions, one for older powerPC (G4, G5) machines and one for Intel machines.

  • Choose and obtain the suitable model relying on the kind of pc you’ve got (see About This Mac):
    • Intel: http://11bm.xray.aps.anl.gov/downloads/cmpr_osxi86_updating.dmg
    • PowerPC: http://11bm.xray.aps.anl.gov/downloads/cmpr_osxppc_updating.dmg
  • Relying on how your browser is configured, the file could mechanically mount or it’s possible you’ll must double-click on the file you downloaded. Both method, after a attainable delay on slower computer systems, you need to have a brand new “disk” present up in Finder named CMPRvol with contents a single folder named, CMPR.

  • You will have to pull this folder to a location on a tough disk the place you’ve got write entry. I don’t counsel placing it in the primary Purposes folder, as that may require you to login as a administrator to carry out an improve. Personally, I create a Purposes folder in my residence listing and put CMPR there.
  • Click on on this folder and you will notice a number of recordsdata, click on on the bootstrap.py file. This could trigger the script to be executed in python. The output from the set up is given elsewhere. If this fails as a result of python is just isn’t related to the .py extension, an alternate is to: open a terminal window; use ‘cd’ to vary to the suitable listing; then kind python bootstrap.py. Be aware that this script can safely be rerun if an issue happens within the obtain. Actually, every time it’s run, it’s going to test the recordsdata in your pc in opposition to these on the repository and can obtain any updates.
  • Setup a shortcut to begin CMPR: Within the CMPR folder, there are 4 AppleScript recordsdata which are used to begin CMPR (with a inexperienced and black CMPR icon). This script should reside within the CMPR folder, however it may be dragged to the Dock or an alias may be created (utilizing Management-click to deliver up a menu, or drag the file, whereas holding down choice & command). If the CMPR app (really named cmpr.app, although the app extension shall be hidden. If the app doesn’t work, you need to strive the model named on your OS X model (cmpr10.4, cmpr10.5 or cmpr10.6). Extra info on the AppleScripts is given elsewhere.
  • Eject the CMPRvol gadget and if desired, delete the downloaded .dmg file.

See also  total war: shogun 2 trainer cheat happens

2. Putting in CMPR from the subversion server with svn instructions

  1. Work out the place you need to put CMPR, I am going to assume ~/myApps/CMPR (in CMPR in MyApps in your house listing) for the instance under.
  1. Use subversion to acquire the supply code:

svn co https://subversion.xray.aps.anl.gov/CMPR/tags/stable ~/myApps/CMPR

  1. Load the supply code into the exe space:

svn swap https://subversion.xray.aps.anl.gov/CMPR/exe/osx_i86 ~/myApps/CMPR/exe

or, for G5/G5 (PowerPC) Processors use as an alternative:

svn swap https://subversion.xray.aps.anl.gov/CMPR/exe/osxG4 ~/myApps/CMPR/exe

  1. Load the event model into the cmprdev space

svn swap https://subversion.xray.aps.anl.gov/CMPR/trunk ~/myApps/CMPR/cmprdev

  1. Create an AppleScript to launch CMPR

Open the AppleScript Editor within the Utilities folder of the primary Purposes folder. (In 10.4 Purposes/AppleScript/Script Editor). Paste the suitable script from the Applescript web pageinto the higher field. Press the compile button to test that you’ve got carried out that accurately. Use the File/Save? As menu merchandise to put the script into the listing the place you’ve got put in CMPR. Check by double-clicking on the newly saved file (Be aware that it’ll not run from contained in the AppleScript Editor).

Static (non-updating) Set up

Customers with out community entry on their Mac, or who’re operating 10.4 and don’t need to set up subversion ought to use this technique to put in CMPR. If that is distribution is used, solely the secure model is put in and the software program can’t fetch the most recent upgrades from the server.

  • Obtain the suitable distribution file:
    • Intel: http://11bm.xray.aps.anl.gov/downloads/cmpr_osxi86_static.dmg
    • PPC: http://11bm.xray.aps.anl.gov/downloads/cmpr_osxppc_static.dmg

Be aware that the subversion model quantity for this distribution may be decided by noting the most recent quantity cmpr_osc???_Vxxxx.dmg in listing http://11bm.xray.aps.anl.gov/downloads/

  • If the file doesn’t mechanically open in finder displaying a quantity containing a single folder named CMPR, click on on the downloaded cmpr_osx*_static.dmg file.
  • Drag the CMPR folder to the place you need it in your pc. If you happen to place this folder in /Purposes or every other central location, you’ll need to make use of an admin account for the following step, in addition to later to carry out upgrades.
  • Setup a shortcut to begin CMPR: Within the CMPR folder, there are 4 AppleScript recordsdata which are used to begin CMPR (with a inexperienced and black CMPR icon). This script should reside within the CMPR folder, however it may be dragged to the Dock or an alias may be created (utilizing Management-click to deliver up a menu, or drag the file, whereas holding down choice & command). If the CMPR app (really named cmpr.app, although the app extension shall be hidden. If the app doesn’t work, you need to strive the model named on your OS X model (cmpr10.4, cmpr10.5 or cmpr10.6). Extra info on the AppleScripts is given elsewhere.
  • Eject the CMPRvol gadget and if desired, delete the downloaded .dmg file.
See also  What is Adobe Photoshop Lightroom?

Leave a Reply

Your email address will not be published.