From: Peter P. <per...@gm...> - 2011-09-22 13:28:30
|
Hi, I am having the exact same error as both Phil and Aaron. I am using version 3611 and running on Mac OS X 10.6.8 and gfortran 4.6.1. Changing the number of threads fixed an error I previously had, but even with the correct number of threads installation fails at rates. -Peter On Wed, Sep 21, 2011 at 11:04 PM, Tuguldur Sukhbold < tug...@em...> wrote: > Hi Ehsan, > > this is really bizarre!!! I am running on Lion with ifort 12.1.0 on MacMini > with 2 cores. I got 3611 installed after following steps: > > 1) added following line to my .bash_profile: export > DYLD_LIBRARY_PATH="/opt/intel/composerxe/lib" > > 2) before proceeding to 'mesa/mtx/test/' setup my number of threads, in my > case with MacMini its: $ export OMP_NUM_THREADS=2 > > 3) before proceeding to 'mesa/ionization/test/' I have edited > the 'mesa/ionization/private/mod_ionization.f'. I have changed the implicit > loop: > > f(1,1:num_log_ne,i) = p% log_ne(1:num_log_ne) > > with and explicit one: > (declare j as an integer in the subroutine) > do j=1,num_log_ne > p% f(1,j,i) = p% log_ne(j) > end do > > Since I am using ifort I didn't touch the makefile_header. > > As you can see, my issue with mesa/mtx/test was solved after I declared the > number of threads. (In the mesa/mtx/test/tmp.txt it will say to you to do > that if you didn't). > > Today I have updated (actually did a fresh checkout) of 3633, which > installed with no problem at all (I didn't even had to change the loop in > mod_ionization.f). > > Tuguldur > > > > > > > > 2011/9/21 Ehsan Moravveji <mor...@ia...> > >> Thanks Tuguldur >> I had already set this variable. The problem was with OMPI library that I >> resolved. >> Still I get an error like this: >> >> ifort -vec-report0 -traceback -error-limit 6 -openmp -threads >> -I../../make -I../../public -I../../../include -check uninit -check >> pointers -check bounds -check all -g -c -free ../src/test_mtx.f >> ifort -openmp -threads -o ../tester test_pardiso.o test_klu.o >> test_mtx_support.o test_banded.o test_block_tridiagonal.o test_square.o >> test_sparse.o test_mtx.o \ >> -L../../make -lmtx -lmkl_intel_lp64 -lmkl_intel_thread >> -lmkl_lapack95_lp64 -lmkl_core -liomp5 -lpthread -lmesablas -L../../../lib >> -lutils -lalert >> Undefined symbols for architecture x86_64: >> "_c_fortran_klu_", referenced from: >> _mod_klu_mp_do_klu_decsols_ in libmtx.a(mod_klu.o) >> _mod_klu_mp_do_klu_decsols_nrhs_ in libmtx.a(mod_klu.o) >> _mod_klu_mp_do_klu_decsols_nrhs_0_based_ in libmtx.a(mod_klu.o) >> ld: symbol(s) not found for architecture x86_64 >> make: *** [tester] Error 1 >> >> /Users/ehsan/programs/mesa/mtx/test >> FAILED >> >> >> /Users/ehsan/programs/mesa/mtx >> ./build_and_test FAILED >> >> My question is this: >> With your Lion 10.7 and ifort 12.0.1 (which you said is similar to mine), >> how did you set your makefile_header? >> I have problem with MKL. >> >> Best. >> Ehsan. >> >> > Ehsan, we're on an exactly same setup, I haven't encoutered this error >> > with >> > 3611. >> > >> > >> > >> > >> > >> > 2011/9/21 Ehsan Moravveji <mor...@ia...> >> > >> >> > did you guys set the number of threads correctly? My issue in >> >> > /mesa/star/mtx/test/ was solved by setting the correct number of >> >> threads >> >> > (2 >> >> > in my case): >> >> > >> >> > $ export OMP_NUM_THREADS=2 >> >> >> >> In my case, it is already set, but I get the error from another module: >> >> >> >> ifort -vec-report0 -traceback -error-limit 6 -openmp -threads >> >> -I../../make >> >> -I../../public -I../../../include -check uninit -check pointers -check >> >> bounds -check all -g -c -fixed -132 ../src/test_const.f >> >> ifort -openmp -threads -o ../tester test_const.o -L../../make -lconst >> >> >> >> >> >> FAILED >> >> >> >> >> >> /Users/ehsan/programs/mesa/const/test >> >> >> >> TEST FAILED -- compare test_output to tmp.txt >> >> >> >> Any help? >> >> >> >> I use ifort 12.0.1 on Lion 10.7 >> >> >> >> Ehsan. >> >> >> >> >> >> > >> >> > Tuguldur >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > 2011/9/21 Larry Pinsonneault <lpi...@ha...> >> >> > >> >> >> ** >> >> >> Hi, >> >> >> >> >> >> I get the same result as Aaron and Phil. The installation fails in >> >> rates >> >> >> with >> >> >> exactly the same six mismatches. >> >> >> >> >> >> I am running Ubuntu 11.4 with gfortran 4.5.2 on a Toshiba >> >> >> Satellite.A665. >> >> >> >> >> >> Larry Pinsonneault >> >> >> >> >> >> >> >> >> On 09/19/2011 09:05 AM, Aaron Dotter wrote: >> >> >> >> >> >> Hi, >> >> >> >> >> >> I'll add my tale of woe to Phil's. Everything goes fine until rates. >> >> >> Looks like Phil and I are consistent, at least. >> >> >> >> >> >> /Users/dotter/mesa3611/rates >> >> >> building rates package. >> >> >> >> >> >> make: `librates.a' is up to date. >> >> >> make: `librates.a' is up to date. >> >> >> gfortran -fopenmp -o ../tester test_rates.o -L../../make -lrates >> >> >> -L../../../lib -lreaclib -lweak -lchem -linterp_2d -linterp_1d -lnum >> >> >> -lutils >> >> >> -lalert -lconst -lmtx -lmesaklu -lmesalapack -lmesablas >> >> >> gfortran -fopenmp -o ../show_rates reaction_rate_from_cache.o >> >> >> -L../../make >> >> >> -lrates -L../../../lib -lreaclib -lweak -lchem -linterp_2d >> >> -linterp_1d >> >> >> -lnum >> >> >> -lutils -lalert -lconst -lmtx -lmesaklu -lmesalapack -lmesablas >> >> >> >> >> >> 58c58 >> >> >> < rne20ap_to_mg24 0.0000000000000000E+00 >> >> >> --- field 2 relative error 1.00e+00 >> >> >> > rne20ap_to_mg24 1.3318310086100496E-08 >> >> >> 60c60 >> >> >> < rmg24ap_to_si28 0.0000000000000000E+00 >> >> >> --- field 2 relative error 1.00e+00 >> >> >> > rmg24ap_to_si28 2.6558494648638122E-06 >> >> >> 62c62 >> >> >> < r_c12_to_he4_he4_he4 0.0000000000000000E+00 >> >> >> --- field 2 relative error 1.00e+00 >> >> >> > r_c12_to_he4_he4_he4 1.4771305847143582E-26 >> >> >> 63c63 >> >> >> < r_ne20_ga_o16 0.0000000000000000E+00 >> >> >> --- field 2 relative error 1.00e+00 >> >> >> > r_ne20_ga_o16 3.8122575515639085E-16 >> >> >> >> >> >> /Users/dotter/mesa3611/rates/test >> >> >> TEST FAILED -- compare test_output to tmp.txt >> >> >> >> >> >> >> >> >> /Users/dotter/mesa3611/rates >> >> >> ./build_and_test FAILED >> >> >> >> >> >> This is MESA 3611 on Mac OS X 10.6.8 with gfortran 4.5.2. >> >> >> >> >> >> Aaron >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Mon, Sep 19, 2011 at 8:30 AM, Phil Arras <pl...@vi...> >> >> wrote: >> >> >> >> >> >>> >> >> >>> Greetings, >> >> >>> >> >> >>> I encountered a compilation error for version 3611, for Mac OS X >> >> >>> (10.6.8), >> >> >>> with gfortran 4.6.1: >> >> >>> >> >> >>> >> >> >>> >> >> >> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >> >> >>> gfortran -fopenmp -o ../show_rates reaction_rate_from_cache.o >> >> >>> -L../../make >> >> >>> -lrates -L../../../lib -lreaclib -lweak -lchem -linterp_2d >> >> -linterp_1d >> >> >>> -lnum >> >> >>> -lutils -lalert -lconst -lmtx -lmesaklu -lmesalapack -lmesablas >> >> >>> >> >> >>> 58c58 >> >> >>> < rne20ap_to_mg24 0.0000000000000000E+00 >> >> >>> --- field 2 relative error 1.00e+00 >> >> >>> > rne20ap_to_mg24 1.3318310086100496E-08 >> >> >>> 60c60 >> >> >>> < rmg24ap_to_si28 0.0000000000000000E+00 >> >> >>> --- field 2 relative error 1.00e+00 >> >> >>> > rmg24ap_to_si28 2.6558494648638122E-06 >> >> >>> 62c62 >> >> >>> < r_c12_to_he4_he4_he4 0.0000000000000000E+00 >> >> >>> --- field 2 relative error 1.00e+00 >> >> >>> > r_c12_to_he4_he4_he4 1.4771305847143582E-26 >> >> >>> 63c63 >> >> >>> < r_ne20_ga_o16 0.0000000000000000E+00 >> >> >>> --- field 2 relative error 1.00e+00 >> >> >>> > r_ne20_ga_o16 3.8122575515639085E-16 >> >> >>> >> >> >>> /Users/arras/stars/mesa/rates/test >> >> >>> TEST FAILED -- compare test_output to tmp.txt >> >> >>> >> >> >>> >> >> >>> /Users/arras/stars/mesa/rates >> >> >>> ./build_and_test FAILED >> >> >>> >> >> >>> >> >> >> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >> >> >>> >> >> >>> >> >> >>> >> >> >>> Comparing the two files gave: >> >> >>> >> >> >>> >> >> >>> >> >> >> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >> >> >>> Phil-Arras-MacBook-Pro:mesa/rates/test] arras% diff test_output >> >> tmp.txt >> >> >>> 1c1 >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> 5c5 >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> 21c21 >> >> >>> < rn15pg_aux 3.0733146900102957E+02 >> >> >>> --- >> >> >>> > rn15pg_aux 3.0733146900102952E+02 >> >> >>> 26c26 >> >> >>> < r_mg24_ag_si28 7.3991076437333121E-04 >> >> >>> --- >> >> >>> > r_mg24_ag_si28 7.3991076437333111E-04 >> >> >>> 31c31 >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> 33,34c33,34 >> >> >>> < >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> > >> >> >>> 38c38 >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> 58c58 >> >> >>> < rne20ap_to_mg24 1.3318310086100496E-08 >> >> >>> --- >> >> >>> > rne20ap_to_mg24 0.0000000000000000E+00 >> >> >>> 60c60 >> >> >>> < rmg24ap_to_si28 2.6558494648638122E-06 >> >> >>> --- >> >> >>> > rmg24ap_to_si28 0.0000000000000000E+00 >> >> >>> 62,64c62,64 >> >> >>> < r_c12_to_he4_he4_he4 1.4771305847143582E-26 >> >> >>> < r_ne20_ga_o16 3.8122575515639085E-16 >> >> >>> < >> >> >>> --- >> >> >>> > r_c12_to_he4_he4_he4 0.0000000000000000E+00 >> >> >>> > r_ne20_ga_o16 0.0000000000000000E+00 >> >> >>> > >> >> >>> 66,69c66,69 >> >> >>> < >> >> >>> < FL_epsnuc_3alf 1.1675035548327446E+21 >> >> >>> < >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> > FL_epsnuc_3alf 1.1675035548327443E+21 >> >> >>> > >> >> >>> > >> >> >>> 73c73 >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> 75c75 >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> 77c77 >> >> >>> < >> >> >>> --- >> >> >>> > >> >> >>> >> >> >>> >> >> >> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >> >> >>> >> >> >>> So they only differ by a tiny amount. >> >> >>> >> >> >>> Oddly, the first time I tried the installation it barfed on the mtx >> >> >>> routine. Then just for the fun of it I tried doing ./install again >> >> and >> >> >>> it >> >> >>> got through mtx, >> >> >>> but then stopped on rates, and is stuck there no matter how many >> >> times >> >> >>> I >> >> >>> try ./install. >> >> >>> >> >> >>> Help! >> >> >>> >> >> >>> cheers, >> >> >>> >> >> >>> Phil >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >> ------------------------------------------------------------------------------ >> >> >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> >> >>> Learn about the latest advances in developing for the >> >> >>> BlackBerry® mobile platform with sessions, labs & more. >> >> >>> See new tools and technologies. Register for BlackBerry® DevCon >> >> >>> today! >> >> >>> http://p.sf.net/sfu/rim-devcon-copy1 >> >> >>> _______________________________________________ >> >> >>> mesa-users mailing list >> >> >>> mes...@li... >> >> >>> https://lists.sourceforge.net/lists/listinfo/mesa-users >> >> >>> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> >> >> Learn about the latest advances in developing for the >> >> >> BlackBerry® mobile platform with sessions, labs & more. >> >> >> See new tools and technologies. Register for BlackBerry® DevCon >> >> >> today!http://p.sf.net/sfu/rim-devcon-copy1 >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> mesa-users mailing >> >> >> lis...@li...https:// >> >> lists.sourceforge.net/lists/listinfo/mesa-users >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> All the data continuously generated in your IT infrastructure >> >> contains a >> >> >> definitive record of customers, application performance, security >> >> >> threats, fraudulent activity and more. Splunk takes this data and >> >> makes >> >> >> sense of it. Business sense. IT sense. Common sense. >> >> >> http://p.sf.net/sfu/splunk-d2dcopy1 >> >> >> _______________________________________________ >> >> >> mesa-users mailing list >> >> >> mes...@li... >> >> >> https://lists.sourceforge.net/lists/listinfo/mesa-users >> >> >> >> >> >> >> >> > >> >> > >> >> > -- >> >> > >> ------------------------------------------------------------------------- >> >> > "No word from Landau, No thought from Liefshitz" - Landau's wife >> >> > >> >> > "Science is interesting, and if you don't agree, you can fuck off" - >> >> > Editor >> >> > of New Scientist Magazine >> >> > >> >> > Three out of two people have difficulties with fractions. >> >> > >> >> > Kenyan proverb: "Take care of the Earth. It was not given to you by >> >> your >> >> > parents; it was loaned to you by your children." >> >> > >> >> > "The Bible tells us how to go to heaven, not how the heavens go" >> >> Galileo >> >> > >> >> > -- >> >> > This message has been scanned for viruses and >> >> > dangerous content by MailScanner, and is >> >> > believed to be clean. >> >> >> >> > >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > All the data continuously generated in your IT infrastructure >> contains >> >> a >> >> > definitive record of customers, application performance, security >> >> > threats, fraudulent activity and more. Splunk takes this data and >> >> makes >> >> > sense of it. Business sense. IT sense. Common sense. >> >> > >> >> >> http://p.sf.net/sfu/splunk-d2dcopy1_______________________________________________ >> >> > mesa-users mailing list >> >> > mes...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/mesa-users >> >> > >> >> -- >> >> This message has been scanned for viruses and >> >> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and >> >> >> is >> >> believed to be clean. >> > >> > >> > >> > >> > -- >> > >> ------------------------------------------------------------------------- >> > "No word from Landau, No thought from Liefshitz" - Landau's wife >> > >> > "Science is interesting, and if you don't agree, you can fuck off" - >> > Editor >> > of New Scientist Magazine >> > >> > Three out of two people have difficulties with fractions. >> > >> > Kenyan proverb: "Take care of the Earth. It was not given to you by your >> > parents; it was loaned to you by your children." >> > >> > "The Bible tells us how to go to heaven, not how the heavens go" Galileo >> > >> > -- >> > This message has been scanned for viruses and >> > dangerous content by MailScanner, and is >> > believed to be clean. >> > >> > >> -- >> This message has been scanned for viruses and >> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is >> >> believed to be clean. >> > > > > -- > ------------------------------------------------------------------------- > "No word from Landau, No thought from Liefshitz" - Landau's wife > > "Science is interesting, and if you don't agree, you can fuck off" - Editor > of New Scientist Magazine > > Three out of two people have difficulties with fractions. > > Kenyan proverb: "Take care of the Earth. It was not given to you by your > parents; it was loaned to you by your children." > > "The Bible tells us how to go to heaven, not how the heavens go" Galileo > > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > mesa-users mailing list > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > > |