Hi,
I have installed alps2.2 in my desktop with os fedora 19. It has passed all the tests when I run "make test" and "make install"
Now to test the installation I have copied the alps tutorial code-02-c++ solution to a new directory and run "make". It has returned an executable ising but when I run that executable it failed and returned
./ising: error while loading shared libraries: libalps.so.2: cannot open shared object file: No such file or directory
Can anybody please tell me what I have to change to make it run ?
Thanks,
Hi,
You need to the set the LD_LIBRARY_PATH environment variable. On Linux: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/alps/lib On Mac: export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/alps/lib
To acid doing it every time you open a new terminal, you may add the above command line in the ~/.bashrc file.
Best regards, Michele
-- ETH Zurich Michele Dolfi Institute for Theoretical Physics HIT G 32.4 Wolfgang-Pauli-Str. 27 8093 Zurich Switzerland
dolfim@phys.ethz.ch www.itp.phys.ethz.ch
+41 44 633 78 56 phone +41 44 633 11 15 fax
On Jun 18, 2014, at 5:56 PM, ANIRBAN DUTTA tpad2@iacs.res.in wrote:
Hi,
I have installed alps2.2 in my desktop with os fedora 19. It has passed all the tests when I run "make test" and "make install"
Now to test the installation I have copied the alps tutorial code-02-c++ solution to a new directory and run "make". It has returned an executable ising but when I run that executable it failed and returned
./ising: error while loading shared libraries: libalps.so.2: cannot open shared object file: No such file or directory
Can anybody please tell me what I have to change to make it run ?
Thanks,
ANIRBAN DUTTA IACS INDIA
comp-phys-alps-users@lists.phys.ethz.ch