User Tools

Site Tools


python-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python-software [2022/02/21 17:46] aorthpython-software [2023/06/26 12:02] (current) aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: 3.9 (3.9.10)+  * Version: 3.9 (3.9.17)
   * Added: October, 2014   * Added: October, 2014
-  * Updated: February2022+  * Updated: June2023
   * Link: https://www.python.org   * Link: https://www.python.org
  
 ===== Usage ===== ===== Usage =====
  
-See versions of python which are available:+See versions which are available:
 <code>$ module avail python</code> <code>$ module avail python</code>
  
-Load a particular version into your environment and run it: +Load one version into your environment and run it:
 <code>$ module load python/3.9 <code>$ module load python/3.9
 $ python -V</code> $ python -V</code>
Line 23: Line 22:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://www.python.org/ftp/python/3.9.10/Python-3.9.10.tar.xz +$ wget https://www.python.org/ftp/python/3.9.14/Python-3.9.17.tar.xz 
-$ tar xf Python-3.9.10.tar.xz +$ tar xf Python-3.9.17.tar.xz 
-$ cd Python-3.9.10 +$ cd Python-3.9.17
-$ scl enable devtoolset-7 bash+
 $ CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition" $ CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition"
 $ LDFLAGS="$LDFLAGS -fno-semantic-interposition" $ LDFLAGS="$LDFLAGS -fno-semantic-interposition"
 $ ./configure --prefix=/export/apps/python/3.9 --enable-shared --with-computed-gotos --enable-optimizations --with-lto --enable-ipv6 --with-tzpath=/usr/share/zoneinfo $ ./configure --prefix=/export/apps/python/3.9 --enable-shared --with-computed-gotos --enable-optimizations --with-lto --enable-ipv6 --with-tzpath=/usr/share/zoneinfo
-$ chrt -i 0 make -j4 +$ chrt -i 0 make -j4 # this make doesn't seem to scale well 
-$ sudo mkdir -p /export/apps/python/3.9+$ sudo mv /export/apps/python/3.9 /export/apps/python/3.9.bak 
 +$ sudo mkdir /export/apps/python/3.9
 $ sudo chown aorth /export/apps/python/3.9 $ sudo chown aorth /export/apps/python/3.9
 $ make install $ make install
python-software.txt · Last modified: 2023/06/26 12:02 by aorth