From: Ricky O. <ol...@sa...> - 2009-12-13 13:28:49
|
Hi, Thanks to those who responded to my earlier message. Aaron, I tried what you suggested, but now the compilation proceeds to a point where it just hangs. I waited over 4 hours and still not finished. Seems to get stuck somewhere. Anyways I am just interested at the moment in using the EOS and OPACITY modules in my linear and non-linear pulsation code.I tried to compile these separately and just end up with the following: ricky@rickylapvm:~/mesa_1.1.1/eos$ ./install gfortran -fopenmp -I../public -I../../include -Wunused-value -Wuninitialized -Werror -W -fimplicit-none -O2 -c -ffixed-form -ffixed-line-length-132 ../private/eos_eval.f ../private/eos_eval.f:1096.132: 1 Fatal Error: Can't open module file 'num_lib.mod' for reading at (1): No such file or directory make: *** [eos_eval.o] Error 1 /home/ricky/mesa_1.1.1/eos/make FAILED Any ideas? Where is num_lib.mod located? By the way, I don't think I got the actual data tables either. Where can I find these? I just downloaded the tarball of the SourceForge.net site. Thank you. Regards, Enrico |
From: Aaron D. <aar...@gm...> - 2009-12-13 17:15:46
|
Hi Enrico, The MESA physics modules, like eos and kap, require the numerics, interpolation, and some other basic modules. To compile the eos and kap modules, you first need to run the 'install_numerics_only' script, then compile the chem module. In general, you can check which modules are required by either checking the order in which the modules are compiled in the main install script or grepping for 'use' in the source files in the module you want to compile. When you checkout MESA for the first time, the data files are stored in the module to which they belong. For example, the opacity tables are stored in kap/kap_data.tar.bz2. When you run the main install script, it will unpack these files and put them where they belong. In which case, it might make the most sense to run the main install script even if you don't want to compile the entire package because it sets everything up for later use. To check what has been compiled, you can look in include/ and lib/, where each module will have a *.mod and lib* file, respectively. Anyway, I hope this helps! Aaron |
From: Bill P. <pa...@ki...> - 2009-12-13 17:19:14
|
Hi Ricky, The "infinite hang" symptom has happened in the past with older versions of gfortran. So, my first suggestion is to try again with the most recent gfortran version -- for example, I'm using 4.5.0 without problems. you can get gfortran binaries to download at http://gcc.gnu.org/wiki/GFortran -Bill Paxton |
From: Ricky O. <ol...@sa...> - 2009-12-14 14:20:20
|
Dear Bill, Thanks for the info. I upgraded to gfortran 4.5.0 and still it hangs. It seems to hang at the following compilation line: gfortran -fopenmp -o ../tester test_superlu.o test_sparskit.o test_mtx.o -L../../make -lmtx -L../../../lib -lmesalapack -lmesablas -lutils -lalert On another point, I looked through all the directories, and I still don't find the eos and kap tables anywhere. Thanks to both you and Aaron's responses so far. Ricky Bill Paxton wrote: > Hi Ricky, > > The "infinite hang" symptom has happened in the past with > older versions of gfortran. So, my first suggestion is to > try again with the most recent gfortran version -- > for example, I'm using 4.5.0 without problems. > you can get gfortran binaries to download at > http://gcc.gnu.org/wiki/GFortran > > -Bill Paxton > > |
From: Bill P. <pa...@ki...> - 2009-12-14 15:35:24
|
Hi, Let's try again with gfortran. To ensure that everything has been recompiled with the new compiler, remove the old stuff and then redo the entire install by doing this: cd mesa ./clean ./install Once you have completed a normal install, the eos and kap tables will have been created automatically, so let's focus on the install for now. Bill On Dec 14, 2009, at 6:18 AM, Ricky Olivier wrote: > Dear Bill, > > Thanks for the info. I upgraded to gfortran 4.5.0 and still it > hangs. It seems to hang at the following compilation line: > > gfortran -fopenmp -o ../tester test_superlu.o test_sparskit.o > test_mtx.o -L../../make -lmtx -L../../../lib -lmesalapack - > lmesablas -lutils -lalert > > On another point, I looked through all the directories, and I still > don't find the eos and kap tables anywhere. Thanks to both you and > Aaron's responses so far. > > Ricky > > Bill Paxton wrote: >> Hi Ricky, >> >> The "infinite hang" symptom has happened in the past with >> older versions of gfortran. So, my first suggestion is to >> try again with the most recent gfortran version -- >> for example, I'm using 4.5.0 without problems. >> you can get gfortran binaries to download at >> http://gcc.gnu.org/wiki/GFortran >> >> -Bill Paxton >> >> |
From: Ricky O. <ol...@sa...> - 2009-12-14 15:43:09
|
Hi Bill, Tried that already. Even deleted the mesa root directory and recreated it from the original tarball. Still no luck ... Ricky Bill Paxton wrote: > Hi, > > Let's try again with gfortran. > To ensure that everything has been > recompiled with the new compiler, > remove the old stuff and then > redo the entire install by doing this: > > cd mesa > ./clean > ./install > > Once you have completed a normal install, > the eos and kap tables will have been created > automatically, so let's focus on the install > for now. > > Bill > > > > > > On Dec 14, 2009, at 6:18 AM, Ricky Olivier wrote: > >> Dear Bill, >> >> Thanks for the info. I upgraded to gfortran 4.5.0 and still it hangs. >> It seems to hang at the following compilation line: >> >> gfortran -fopenmp -o ../tester test_superlu.o test_sparskit.o >> test_mtx.o -L../../make -lmtx -L../../../lib -lmesalapack -lmesablas >> -lutils -lalert >> >> On another point, I looked through all the directories, and I still >> don't find the eos and kap tables anywhere. Thanks to both you and >> Aaron's responses so far. >> >> Ricky >> >> Bill Paxton wrote: >>> Hi Ricky, >>> >>> The "infinite hang" symptom has happened in the past with >>> older versions of gfortran. So, my first suggestion is to >>> try again with the most recent gfortran version -- >>> for example, I'm using 4.5.0 without problems. >>> you can get gfortran binaries to download at >>> http://gcc.gnu.org/wiki/GFortran >>> >>> -Bill Paxton >>> >>> > |
From: Bill P. <pa...@ki...> - 2009-12-14 15:46:38
|
On Dec 14, 2009, at 7:42 AM, Ricky Olivier wrote: > recreated it from the original tarball Did you start from a current svn checkout? svn co -r 1943 https://mesa.svn.sourceforge.net/svnroot/mesa/trunk mesa -B |
From: Ricky O. <ol...@sa...> - 2009-12-14 15:51:58
|
I got the file from the original sourceforge page http://sourceforge.net/projects/mesa/ I'll try svn now. Probably need to install svn first Thanks for all the help! Hope this sorts it out. R. Bill Paxton wrote: > > On Dec 14, 2009, at 7:42 AM, Ricky Olivier wrote: > >> recreated it from the original tarball > > Did you start from a current svn checkout? > svn co -r 1943 https://mesa.svn.sourceforge.net/svnroot/mesa/trunk mesa > > -B > > > > > > > > |
From: Marcin @ a. <ast...@o2...> - 2009-12-14 21:01:19
|
Hi Bill, I have a problem with compiling latest mesa release. I use ifort 11.0. Compilation stops at kap module. To be sure I was compiling a fresh installation I deleted all subfolders in /mesa/data and I ran ./clean and ./install again. It did not work Please, take a look at an attached compilation log. Test_output and tmp.txt files are also included. Could you advise me what might be causing the test problem? Best regards Marcin Mackiewicz |
From: Bill P. <pa...@ki...> - 2009-12-14 21:05:26
|
On Dec 14, 2009, at 1:00 PM, Marcin @ astrophysics wrote: > I use ifort 11.0 I've had to upgrade to 11.1 -- 11.0 was failing for me too for some reason. Could you perhaps get 11.1? -Bill |
From: NORHASLIZA B. Y. <nor...@pe...> - 2009-12-14 16:02:23
|
Hello, Hi Ricky, I suggest you download the code using svn instead of tar file. As Bill suggested, try the new gfortran, for my case, I upgraded the whole system, gcc and gfortran 4.3.0 (previously I used ubuntu 8.04, then the same problem happen and I upgraded using ubuntu 9.04 where it come with gfortran 4.3.0 I think) and it works smoothly without any error. Hope it helps. Cheers, Liza Quoting Ricky Olivier <ol...@sa...> on Mon, 14 Dec 2009 17:42:09 +0200: > Hi Bill, > > Tried that already. Even deleted the mesa root directory and recreated > it from the original tarball. Still no luck ... > > Ricky > > > > Bill Paxton wrote: >> Hi, >> >> Let's try again with gfortran. >> To ensure that everything has been >> recompiled with the new compiler, >> remove the old stuff and then >> redo the entire install by doing this: >> >> cd mesa >> ./clean >> ./install >> >> Once you have completed a normal install, >> the eos and kap tables will have been created >> automatically, so let's focus on the install >> for now. >> >> Bill >> >> >> >> >> >> On Dec 14, 2009, at 6:18 AM, Ricky Olivier wrote: >> >>> Dear Bill, >>> >>> Thanks for the info. I upgraded to gfortran 4.5.0 and still it hangs. >>> It seems to hang at the following compilation line: >>> >>> gfortran -fopenmp -o ../tester test_superlu.o test_sparskit.o >>> test_mtx.o -L../../make -lmtx -L../../../lib -lmesalapack -lmesablas >>> -lutils -lalert >>> >>> On another point, I looked through all the directories, and I still >>> don't find the eos and kap tables anywhere. Thanks to both you and >>> Aaron's responses so far. >>> >>> Ricky >>> >>> Bill Paxton wrote: >>>> Hi Ricky, >>>> >>>> The "infinite hang" symptom has happened in the past with >>>> older versions of gfortran. So, my first suggestion is to >>>> try again with the most recent gfortran version -- >>>> for example, I'm using 4.5.0 without problems. >>>> you can get gfortran binaries to download at >>>> http://gcc.gnu.org/wiki/GFortran >>>> >>>> -Bill Paxton >>>> >>>> >> > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > mesa-users mailing list > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > Norhasliza Yusof Dept of Physics University of Malaya 50603 Kuala Lumpur MALAYSIA -------------------------------------------------------------------------------------------- UNIVERSITY OF MALAYA - " The Leader in Research & Innovation " 'This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the University. Finally, the recipient should check this email and any attachments for the presence of viruses. The University accepts no liability for any damage caused by any virus transmitted by this email.' |