pandas : 'native'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
PERSALYS: 'v14.1'
- petsc : {tag : '3.16.0', section: 'version_3_16_0'}
+ petsc : {tag : '3.19.4', base: 'no', section: 'version_3_19_4'}
Pillow : 'native'
planegcs : '0.18-3cb6890'
psutil : 'native'
env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib'))
def set_nativ_env(env):
- env.set('FFTW_ROOT_DIR', '/usr')
- env.set('FFTW_INCLUDE_DIR', '/usr')
- #env.prepend('LD_LIBRARY_PATH', prereq_dir)
+ prereq_dir='/usr'
+ prereq_bin='/usr/bin'
+ prereq_inc='/usr/include'
+ try:
+ import distro
+ if any(distribution in distro.name().lower() for distribution in ["rocky", "centos", "fedora"]) :
+ prereq_dir='/usr'
+ prereq_bin='/usr/bin'
+ prereq_inc='/usr/include/fftw'
+ elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) :
+ prereq_dir='/usr/lib/x86_64-linux-gnu'
+ prereq_inc='/usr/include'
+ except:
+ import patform
+ #FIXME
+
+ env.set('FFTW_ROOT_DIR', prereq_dir)
+ env.set('FFTW_INCLUDE_DIR', prereq_inc)
+ env.prepend('LD_LIBRARY_PATH', prereq_dir)
env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
def set_nativ_env(env):
- env.set('LAPACKHOME', '/usr')
- env.set('LAPACK_ROOT_DIR', '/')
+ prereq_dir='/usr/lib/x86_64-linux-gnu'
+ env.set('LAPACKHOME', prereq_dir)
+ env.set('LAPACK_ROOT_DIR', prereq_dir)
+ env.prepend('LD_LIBRARY_PATH', prereq_dir)
+
env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
def set_nativ_env(env):
- env.set('METISDIR', '/usr')
- env.set('METIS_ROOT_DIR', '/usr') # update for cmake
+ #env.set('METISDIR', '/usr')
+ #env.set('METIS_ROOT_DIR', '/usr') # update for cmake
+ prereq_dir='/usr'
+ prereq_bin='/usr/bin'
+ prereq_inc='/usr/include'
+ try:
+ import distro
+ if any(distribution in distro.name().lower() for distribution in ["rocky", "centos", "fedora"]) :
+ prereq_dir='/usr'
+ prereq_bin='/usr/bin'
+ prereq_inc='/usr/include'
+ elif any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) :
+ prereq_dir='/usr/lib/x86_64-linux-gnu'
+ prereq_inc='/usr/include'
+ except:
+ import patform
+ #FIXME
+
+ env.set('METISDIR', prereq_dir)
+ env.set('METIS_ROOT_DIR', prereq_dir)
+ env.set('METIS_INCLUDE_DIR', prereq_inc)
+ env.prepend('LD_LIBRARY_PATH', prereq_dir)
+