t-Igpet 1/1/2021

Tools for modeling igneous processes

December 15 2020

Mac Catalina OS (10.15.7) has additional security that causes trouble with zip files so the Mac install package is now a DMG.

November 2020 Minor improvements

Improved X-Y axis labeling. Regression results simplified

July 7, 2020 Repaired the Mixing program in the May 15 2020 Windows version

Significant change to t_Igpet (Windows) 5 May 2020

For the last few decades the Windows version of Igpet was maintained in Visual Basic 6, a programming language that Microsoft stopped supporting long ago. Malware uses weaknesses in VB6 and antivirus programs started to tag Igpet as a corrupted program. These virus tags were false positives but I didn't know how to fix that problem. Instead, I decided to stop writing Igpet in VB6. The current version of Igpet for Windows is the same as the Mac version and compiled simultaneously from the same source code, written in Xojo. This greatly simplifies the upkeep of Igpet. There are three main differences between the VB6 version and the XoJo version. First, graphics output is now saved as a .jpg rather than a .bmp file. Unfortunately, the compiled XoJo code is huge compared with the VB6 code. Finally, the XoJo version takes a few seconds to read a large file whereas the VB6 version was really fast. On the positive side, there are some bells and whistles I had been able to implement in XoJo but not in VB6. There may are still be some issues with the Windows version, so contact we when problems arise. Finally, code signing was added to the Windows version, t_Igpet2020Xojo, to make it easier to instal and minimize false identification as malware.

Major revision to t-Igpet (Mac) 5 Feb 2020 to 23 Feb 2020

Apple Notarization implemented. Programming language changes made and various minor improvements

Added warning for data files that lack correct names for Fe oxides (Dec 2019)

Mac OSX Mojave and Catalina work with t-Igpet (Nov 2019)


t-Igpet versus Igpet

t-Igpet is software for Windows and Mac computers. Igpet models common Igneous processes including, fractional and equilibrium crystallization, a variety of partial melting models, assimilation and magma mixing. The t- indicates that these versions of Igpet are free. They are intended primarily for students but also for trial use by professionals who are considering purchasing the professional version of Igpet. The t-Igpet implementation provides bit-mapped diagrams whereas the professional implementation provides vector diagrams that can be modified easily in illustration programs such as Adobe Illustrator, CorelDraw or Inkscape. The Windows and Mac versions are identical now.

Purpose

Igpet makes it easy to examine and analyze a comprehensive Igneous data set. Examination starts with simple diagrams that provide IUGS recommended nomenclature (TAS and QPAF diagrams) and other common discrimination diagrams such as AFM and SiO2 versus K2O. Numerous other diagrams attempt to define the tectonic setting of rocks using weathering resistant trace elements.

After identifying the rocks, the next step is to determine the igneous processes responsible for the variation within a rock suite and the suite's overall composition. By comparison with published examples, many igneous processes can be tentatively identified. However, numerical testing of hypotheses is essential and Igpet makes this easy. Theses and research reports at all levels will be strengthened by the tools provided in Igpet.

Suggestions for use

Three useful documents are available below. Before downloading and installing the software, please at least glance at the three supporting documents; the Publication, the Manual and the Workbook. Notice that the Manual has a Tutorial starting on Page 1. The Tutorial is the easiest way to learn to use the software. All software requires a learning curve, try the Tutorial, it will save you time and expose you to most of the tools in Igpet.

Two appendixes to the Manual attempt to describe advanced features and explain the inner workings of Igpet. Most of the algorithms in Igpet came from the equations in Introduction to Geochemical Modeling (Albarede, 1995) so Igpet is a toolbox for implementing basic numerical petrology/geochemistry.

The Workbook (written in 2016) is an attempt to show how to use Igpet. It has a dozen exercises that span entry level to advanced use. Consider the Workbook a valuable extension of the Tutorial because it leads you through most of the advanced features of Igpet and emphasizes that forward models can prove hypotheses wrong but, by their nature, do not lead to a single correct answer.

Igpet Paper

Please download this article from the downloads available below and cite it if appropriate.

Carr, MJ, and E Gazel, 2017. Igpet software for modeling igneous processes: examples of application using the open educational version. Miner Petrol 111:283–289 DOI 10.1007/s00710-016-0473-z

Finally, the computer code for the two most important calculations in Igpet are provided as text (.txt) files in the Xojo language, an object oriented language that evolved from BASIC. Spimix code Spimod code


Installation Instructions

Mac software

Security rules require installation of two folders; one to Applications, another to Documents.

First, download Install_tIgpet.dmg

Second, double-click the dmg. A disk image called Install_tIgpet should appear on the desktop. Inside are two folders.

Third, Move the IgpetDocs folder to your Documents folder. It MUST be placed there for Igpet to locate critical information.

Fourth, Move the t_Igpet2021 folder to Applications and open it. There are three Apps. It is a good idea to make aliases for the Apps and put them on the Desktop or the Dock.

Fifth, Read the Manual! The IgpetManual is a pdf file in the IgpetDocs folder. Read it, especially p 21; Common Problems

Sixth, Starting with Mac OS Catalina, all Apps had to be Notarized and the Igpet Apps were submitted and approved. Notarization means Apple has examined the compiled code of an App and detected no malware. The first time you run each of the Apps, you will get Apple’s notarization statement. You may also be asked if the App can use the Documents folder. Click Allow.


During 2020, the language Igpet is written in changed significantly. This required changes in hundreds of lines of code. Mistakes were made in the transition. The obvious mistakes were found and fixed but subtle bugs likely remain. Please forward to me any examples of crashes, unexpected behavior or incorrect calculations.

(The following workaround should not be needed after Feb 2017 but somewhat explains the security changes)

Macs have a Gatekeeper that may prevent earlier versions of tIgpet apps from running. As of Dec 30, 2016, the tIgpet apps have code signing which should allow them to be approved by Gatekeeper, although a mild warning will occur at first use. In case the code signing is not working, the instructions below (will) may allow you to use tIgpet.

If Gatekeeper forbids you to run a tIgpet app, the workaround is to temporarily change your security setting to "Anywhere." Exactly how to do this may vary with operating system. For El Capitan (OSX10.11.6) do the following. To get to "Anywhere" click the Apple symbol at the top left of the screen, then click System Preferences, then click Security & Privacy. In the window that appears, click on the lock in the lower left, then enter your password. Now modify the "Allow apps downloaded from:" section by clicking the radio button next to "Anywhere." Click the lock again to close it. Exit System Preferences.

Now open and run each of the apps in the Igpet folder. Just start each App and then quit.

Finally, reopen System Preferences, return to the security settings and change the "Allow apps downloaded from:" selection to "Mac App Store and identified developers". Close System Preferences and explore tIgpet.

Windows software

Downloads are: Installing Igpet on a Windows computer (read this first)

Install_tIgpetXoJo.zip Download it and unzip it. Put the resulting folder in C:\Program Files\ (Make shortcuts for 3 exe files)

IgpetDocs.zip Download it and unzip it. Place the resulting folder in Documents. It MUST go to Documents folder!

First, read the Installation Instructions. They really are important.

Follow the instructions.

To make Desktop icons, open File Explorer and navigate to this folder:

This PC > Windows (C) > Program Files > t_Igpet2021XoJo

or more accurately,

C:\Program Files\ t_Igpet2021XoJo

Make shortcuts for CIPW, Mixing and t_Igpet2021Xojo. Place the shortcuts on the desktop or wherever you like.

Read the Manual! The IgpetManual is a pdf file in the IgpetDocs folder

Read the Manual, especially p 21, Common Problems