An assumption is made that you have already downloaded and installed the latest SIMPL code.
NOTE: The SIMPL-Python shared library requires some of the headers contained in the Python source package in order to compile. Be sure that you have BOTH the Python runtime and the Python source packages installed on your Linux system before doing the following steps.
Step 1: Download the latest Python-SIMPL source tar.gz file to your system if you have not already done so (~6k)
Step 2: To undo the gzip'd tar file simply perform the following steps:
This will create an $SIMPL_HOME/python tree and place all of the source
for the code in there.
Step 3: Create a symbolic link to python
cd $SIMPL_HOME
ln -s python-x.x python
where
x.x is substituted for actual version. eg. 1.3
Step 4: Build the code
If the $SIMPL_HOME/scripts is in your PATH you can simply type
buildsimpl.python
Alternatively you can
cd $SIMPL_HOME/python
make clean
make install
This will create the required Python-SIMPL hooks.
Step 5: Run the examples.
There are some examples of Python-SIMPL code in the $SIMPL_HOME/python/test directory as well as in the SIMPL examples tarball
Step 6: Have fun with the stuff.
If you have any problems, comments or suggestions for improvement don't hesitate to contact the SIMPL project mailing list.
There is an online course that utilizes the Python-SIMPL interface.
There is another open source project which makes use of the Python-SIMPL interface