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 [2023/06/26 12:02] aorthpython-software [2025/02/28 14:01] (current) aorth
Line 1: Line 1:
 ====== python ====== ====== python ======
-Python programming language.+Python programming language. Standalone python for use with environment modules that need something other than the system's Python.
  
 ===== Information ===== ===== Information =====
  
-  * Version: 3.(3.9.17)+  * Version: 3.10 (3.10.16)
   * Added: October, 2014   * Added: October, 2014
-  * Updated: June2023+  * Updated: February2025
   * Link: https://www.python.org   * Link: https://www.python.org
  
Line 15: Line 15:
  
 Load one 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.10
 $ python -V</code> $ python -V</code>
  
Line 22: Line 22:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget https://www.python.org/ftp/python/3.9.14/Python-3.9.17.tar.xz +$ wget https://www.python.org/ftp/python/3.10.16/Python-3.10.16.tar.xz 
-$ tar xf Python-3.9.17.tar.xz +$ tar xf Python-3.10.16.tar.xz 
-$ cd Python-3.9.17 +$ cd Python-3.10.16 
-$ CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition" +$ CFLAGS="${CFLAGS/-O2/-O3} -ffat-lto-objects
-$ LDFLAGS="$LDFLAGS -fno-semantic-interposition+$ ./configure --prefix=/export/apps/python/3.10 --enable-shared --with-computed-gotos --enable-optimizations --with-lto --enable-ipv6 --with-tzpath=/usr/share/zoneinfo
-$ ./configure --prefix=/export/apps/python/3.--enable-shared --with-computed-gotos --enable-optimizations --with-lto --enable-ipv6 --with-tzpath=/usr/share/zoneinfo+
 $ chrt -i 0 make -j4 # this make doesn't seem to scale well $ chrt -i 0 make -j4 # this make doesn't seem to scale well
-$ sudo mv /export/apps/python/3.9 /export/apps/python/3.9.bak +$ sudo mkdir /export/apps/python/3.10 
-$ sudo mkdir /export/apps/python/3.9 +$ sudo chown aorth /export/apps/python/3.10
-$ sudo chown aorth /export/apps/python/3.9+
 $ make install $ make install
 $ make maninstall $ make maninstall
-$ ln -s /export/apps/python/3.9/bin/python3 /export/apps/python/3.9/bin/python +$ ln -s /export/apps/python/3.10/bin/python3 /export/apps/python/3.10/bin/python 
-$ ln -s /export/apps/python/3.9/share/man/man1/python3.9.1 /export/apps/python/3.9/share/man/man1/python.1 +$ ln -s /export/apps/python/3.10/share/man/man1/python3.10.1 /export/apps/python/3.10/share/man/man1/python.1 
-$ ln -s /export/apps/python/3.9/bin/pip3 /export/apps/python/3.9/bin/pip +$ ln -s /export/apps/python/3.10/bin/pip3 /export/apps/python/3.10/bin/pip 
-$ sudo chown -R root:root /export/apps/python/3.9</code>+$ ln -s /export/apps/python/3.10/bin/idle3 /export/apps/python/3.10/bin/idle 
 +$ ln -s /export/apps/python/3.10/bin/python3-config /export/apps/python/3.10/bin/python-config 
 +$ ln -s /export/apps/python/3.10/bin/pydoc3 /export/apps/python/3.10/bin/pydoc 
 +$ sudo chown -R root:root /export/apps/python/3.10</code>
  
-Configure options borrowed from [[https://github.com/archlinux/svntogit-packages/blob/e5ab596d9c13836b894d2d248da7421ae97d0590/trunk/PKGBUILD|Arch Linux's Python package]].+Configure options borrowed from [[https://github.com/archlinux/svntogit-packages/blob/6c31fae6d6685dc5593342377fef6320f68ce50e/python/trunk/PKGBUILD|Arch Linux's Python package]].
python-software.1687780963.txt.gz · Last modified: 2023/06/26 12:02 by aorth