diff --git a/installation/setup_shellrc.py b/installation/setup_shellrc.py index da036851c..7137171fd 100755 --- a/installation/setup_shellrc.py +++ b/installation/setup_shellrc.py @@ -35,14 +35,19 @@ environment = { 'DAMASK_ROOT': ], 'LD_LIBRARY_PATH': [{'activate': 'pathInfo["acml"]', - 'delete':'"acml"', # what keywords trigger item deletion from existing path + 'delete':'"acml"', # what keywords trigger item deletion from existing path 'substitute':'[os.path.join(pathInfo["acml"],"ifort64_mp/lib"),\ - os.path.join(pathInfo["acml"],"ifort64/lib")]', # what to substitute for deleted path items - 'append': True, # whether new entries append to existing ${env} + os.path.join(pathInfo["acml"],"ifort64/lib")]', # what to substitute for deleted path items + 'append': True, # whether new entries append to existing ${env} }, {'activate': 'pathInfo["lapack"]', - 'substitute':'[pathInfo["lapack"]]', # what to substitute for deleted path items - 'append': True, # whether new entries append to existing ${env} + 'substitute':'[os.path.join(pathInfo["lapack"],"lib"),\ + os.path.join(pathInfo["lapack"],"lib64")]', # what to substitute for deleted path + 'append': True, # whether new entries append to existing ${env} + }, + {'activate': 'pathInfo["fftw"]', + 'substitute':'[os.path.join(pathInfo["fftw"],"lib")]', # what to substitute for deleted path items + 'append': True, # whether new entries append to existing ${env} }, ], }