I do not know what's going on. What I do before "make" is :but when I run sudo make, the following error happens:Hi, allI come up with this error while building ALPS on Ubuntu 10.04 LucidBefore compiling, I install all libraries and tools following the ALPS website.
Linking Fortran executable tebd
CMakeFiles/tebd.dir/tebd.f90.o: In function `MAIN__':
tebd.f90:(.text+0x962): undefined reference to `omp_get_num_procs_'
tebd.f90:(.text+0xa48): undefined reference to `omp_set_num_threads_'
collect2: ld returned 1 exit status
make[2]: *** [applications/dmrg/tebd/tebd] Error 1
make[1]: *** [applications/dmrg/tebd/CMakeFiles/tebd.dir/all] Error 2
make: *** [all] Error 2
------------------------------------INPUT COMMAND LINE--------------------------
sudo cmake -D ALPS_BUILD_FORTRAN=ON -D BLAS_LIBRARY=/usr/lib/libblas.so -D LAPACK_LIBRARY=/usr/lib/liblapack.so -D Boost_ROOT_DIR:PATH=/home/jiang/src/alps2/boost /home/jiang/src/alps2/alps
sudo cmake -DCMAKE_INSTALL_PREFIX=/opt/alps /home/jiang/alps2/alpssudo make---------------------------END---------------------------------Any advice is welcome and helpful.
Bo-Nan
--
Stay foolish,Stay hungry.