From 71d9b658193c69983b18dda8f5c0201956e98ed5 Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Thu, 6 Jun 2019 19:30:10 +0000 Subject: [PATCH] add LD_LIBRARY_PATH for running torbeam from matlab as well as manual fix for toki with intel missing git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@12005 d63d8f72-b253-0410-a779-e742ad2e26cf --- crpptbx/AUG/torbeam_prepare_inputs_and_run.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crpptbx/AUG/torbeam_prepare_inputs_and_run.m b/crpptbx/AUG/torbeam_prepare_inputs_and_run.m index e4b55e65..02f01554 100644 --- a/crpptbx/AUG/torbeam_prepare_inputs_and_run.m +++ b/crpptbx/AUG/torbeam_prepare_inputs_and_run.m @@ -231,7 +231,8 @@ icount = 0; ld_library_path=getenv('LD_LIBRARY_PATH'); % need /afs/@cell/common/soft/intel/ics2013/14.0/compiler/lib/intel64 (ok on toks but not toki now) ij_intel = findstr(ld_library_path,'intel'); if isempty(ij_intel) - warning('no intel in LD_LIBRARY_PATH, torbeam may not run properly'); + warning('no intel in LD_LIBRARY_PATH, torbeam may not run properly, add manually /afs/@cell/common/soft/intel/ics2013/14.0/compiler/lib/intel64'); + ld_library_path = [ld_library_path ':/afs/@cell/common/soft/intel/ics2013/14.0/compiler/lib/intel64']; end for it_eff=1:length(times_for_torbeam_eff) it = it_inb_beam_on(it_eff); -- GitLab