From: Rick K. <rk...@nc...> - 2008-12-01 18:04:23
|
Thomas, Excellent news, I am glad that the problem was resolved. I will copy the mailing list to record the status. Your problem report also showed an unused variable in one of the test cases for Fortran, and that has been addressed for future releases. Thanks again. Rick It appeared that Thomas Tanaka wrote: > Hello Rick, > > Thanks for your prompt reply again. > > I think my problem was I missed the g77 compiler. Once the g77 is > installed, everything just works fine and expected and successfully > compile. > > I appreciate your prompt help. I am sorry to have missed that since > configure did not complain so I just assume my system has everything > that is needed to compile the perfsuite. > > Once again thank you very much for your kind attention. > > Regards, > > Thomas > > On 12/1/08, Rick Kufrin <rk...@nc...> wrote: > >> Thomas, >> >> We have been attempting to reproduce your error locally, but unfortunately >> cannot seem to duplicate it. What we are currently testing with is: Ubuntu >> 8.04, gcc 4.2, g77 3.4.6 (g77-3.4, installed this morning) >> >> Can you provide more information about your configuration, compiler versions >> (gcc/f77)? What would be especially helpful would be the complete contents >> of your "config.log" file, which should appear in the directory in which you >> configured PerfSuite, and your complete "make" output, if available. >> >> A further piece of information that would be useful would be the output of >> running this command from within the src/libperfsuite/tests directory. This >> command adds the "-v" flag to the compilation step in order to display the >> different phases of compilation: >> >> f77 -I../../../src/libperfsuite -v -g -O2 -c -o psf_rtc-test.o >> psf_rtc-test.f >> >> >> I am copying my colleague and co-developer of PerfSuite, who has been >> looking at this issue with me. >> >> Rick >> >> >> Rick Kufrin wrote: >> >>> Thomas, >>> >>> Your suspicion is probably correct. This particular issue was not caught >>> >> because we did not have the g77 compiler installed on the Ubuntu machine >> that is most similar to yours. I am guessing there is probably some >> language dialect option that will cause the compiler to recognize that >> construct, but do not know what it is offhand. We will look into it. >> >>> Any suggestions from list subscribers who may have a more recent Fortran >>> >> compiler (GNU 4.2.x ideal) on their system are welcome! >> >>> Thanks again for reporting these problems - will update as more is known. >>> >>> Rick >>> >>> >>> >>> >>> >> ------------------------------------------------------------------------ >> >>> Subject: >>> Re: Compilation Error on perfsuite-0.6.2b2 >>> From: >>> "Thomas Tanaka" <tho...@gm...> >>> Date: >>> Wed, 26 Nov 2008 09:48:33 -0800 >>> >>> To: >>> per...@li... >>> >>> >>> I suspect it doesn't like integer*8 start declaration on line 57 on >>> >>> >> perfsuite-0.6.2b2/src/libperfsuite/tests/psf_rtc-test.f >> >>> Thanks, >>> >>> Thomas >>> >>> On Wed, Nov 26, 2008 at 9:40 AM, Thomas Tanaka <tho...@gm...> >>> >> wrote: >> >>> >>>>> Hello again, >>>>> >>>>> I have tried to make the new perfsuite-0.6.2b2 and the following is >>>>> >> the error: >> >>>>> f77 -I../../../src/libperfsuite -g -O2 -o psf_error-test >>>>> psf_error-test.o >>>>> >>>>> >> -L/home/tanaka/Desktop/ALL/perfsuite-0.6.2b2/src/libperfsuite >> >>>>> -lperfsuite >>>>> >>>>> >> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libf2c.so: >> undefined >> >>>>> reference to `MAIN__' >>>>> collect2: ld returned 1 exit status >>>>> f77 -I../../../src/libperfsuite -g -O2 -c -o psf_rtc-test.o >>>>> >> psf_rtc-test.f >> >>>>> MAIN rtctest: >>>>> Warning on line 104: local variable sleepsecs never used >>>>> dowork: >>>>> psf_rtc-test.f: In function 'MAIN__': >>>>> psf_rtc-test.f:74: error: expected '=', ',', ';', 'asm' or >>>>> '__attribute__' before 'stop' >>>>> psf_rtc-test.f:74: error: 'stop' undeclared (first use in this >>>>> >> function) >> >>>>> psf_rtc-test.f:74: error: (Each undeclared identifier is reported only >>>>> >> once >> >>>>> psf_rtc-test.f:74: error: for each function it appears in.) >>>>> psf_rtc-test.f:76: error: expected '=', ',', ';', 'asm' or >>>>> '__attribute__' before 'start' >>>>> psf_rtc-test.f:76: error: 'start' undeclared (first use in this >>>>> >> function) >> >>>>> psf_rtc-test.f:80: error: expected '=', ',', ';', 'asm' or >>>>> '__attribute__' before 'elapsed' >>>>> psf_rtc-test.f:80: error: 'elapsed' undeclared (first use in this >>>>> >> function) >> >>>>> psf_rtc-test.f:82: error: expected ')' before '*' token >>>>> /usr/bin/f77: aborting compilation >>>>> make[4]: *** [psf_rtc-test.o] Error 25 >>>>> make[3]: *** [all-recursive] Error 1 >>>>> make[2]: *** [all-recursive] Error 1 >>>>> make[1]: *** [all-recursive] Error 1 >>>>> make: *** [all] Error 2 >>>>> >>>>> My platform is Linux 2.6.27-rc5-mm1 on ubuntu 8.04 >>>>> >>>>> Any direction is much appreciated. Thanks in advance. >>>>> >>>>> Regards, >>>>> >>>>> Thomas >>>>> >>>>> >>>> >>> >>> >> > > |