[RegCNET] Questions regarding RegCM3 and PGI 6.2 Makefile

IMRAN NADEEM qphoton at gmail.com
Tue Dec 12 15:18:42 CET 2006


Hi Mustafa,
        It seems that Makefile you are using is not compatible with your
hardware. Can you tell me about your hardware?
To get information about processor type use the linux command

$> cat /proc/cpuinfo

If , e.g, your machine has AMD 64-bit processors, USE Makefile_AMD64.

Imran


On 12/11/06, mustafa coşkun <mcoskun at meteor.gov.tr> wrote:
>
>  Dear RegCM3 Users,
>
> Recently, we bought 4 CPU machine with SuSE Linux Enterprise Server 10. on
> it.
> RegCM3 was intalled on this machine.  Also, we installed PGI 6.2-5 x86
> fortran compiler.
>
> After installation, we tried to compile terrain.x file as we did for PGI5
> Makefile.  We got the following error messages:
>
>
> RCM at aras:~/RegCM/PreProc/Terrain> ./terrain.x
> rm -f *.o terrain
> pgf90 -O2 -byteswapio -Ktrap=fp -c -L../../Commons/env/liblinux64/
> -lnetcdf terrain.f
> terrain.f:
> pgf90 -O2 -byteswapio -Ktrap=fp -o terrain terrain.o-L../../Commons/env/liblinux64/ -lnetcdf
> /usr/bin/ld: skipping incompatible
> ../../Commons/env/liblinux64//libnetcdf.a when searching for -lnetcdf
> terrain.o: In function `rdldtr_':
> terrain.f:(.text+0x1d6e4): undefined reference to `ncopn_'
> terrain.f:(.text+0x1d9ab): undefined reference to `ncopn_'
> terrain.f:(.text+0x1de43): undefined reference to `ncclos_'
> terrain.f:(.text+0x1de50): undefined reference to `ncclos_'
> terrain.o: In function `rdldtr_s_':
> terrain.f:(.text+0x1e394): undefined reference to `ncopn_'
> terrain.f:(.text+0x1e65b): undefined reference to `ncopn_'
> terrain.f:(.text+0x1eaf3): undefined reference to `ncclos_'
> terrain.f:(.text+0x1eb00): undefined reference to `ncclos_'
> terrain.o: In function `rddatcdfi1_':
> terrain.f:(.text+0x21952): undefined reference to `ncdid_'
> terrain.f:(.text+0x21973): undefined reference to `ncdinq_'
> terrain.f:(.text+0x21989): undefined reference to `ncdid_'
> terrain.f:(.text+0x219aa): undefined reference to `ncdinq_'
> terrain.f:(.text+0x219c0): undefined reference to `ncdid_'
> terrain.f:(.text+0x219e1): undefined reference to `ncdinq_'
> terrain.f:(.text+0x21a4e): undefined reference to `ncdid_'
> terrain.f:(.text+0x21a6f): undefined reference to `ncdinq_'
> terrain.f:(.text+0x21a9e): undefined reference to `ncvid_'
> terrain.f:(.text+0x21abd): undefined reference to `ncvgt_'
> terrain.o: In function `rddatcdfi2_':
> terrain.f:(.text+0x21bb2): undefined reference to `ncdid_'
> terrain.f:(.text+0x21bd3): undefined reference to `ncdinq_'
> terrain.f:(.text+0x21be9): undefined reference to `ncdid_'
> terrain.f:(.text+0x21c0a): undefined reference to `ncdinq_'
> terrain.f:(.text+0x21c20): undefined reference to `ncdid_'
> terrain.f:(.text+0x21c41): undefined reference to `ncdinq_'
> terrain.f:(.text+0x21cae): undefined reference to `ncdid_'
> terrain.f:(.text+0x21ccf): undefined reference to `ncdinq_'
> terrain.f:(.text+0x21cfe): undefined reference to `ncvid_'
> terrain.f:(.text+0x21d1d): undefined reference to `ncvgt_'
> make: *** [terrain] Error 2
> ./terrain: Command not found.
>
>
>  Any idea to setup RegCM3 with PGI 6.2 compiler (Makefile) would be
> appreciated.
>
>
>
> Thank you very much in advance.
>
>
>
>
> Mustafa COŞKUN
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Dr. Mustafa COSKUN
>
> Turkish State Meteorological Service (TSMS)
> Department of Research and Data Processing
> Research Division
> Climate Change & Variability Group
> 06120 Kalaba/ANKARA/TURKIYE
> Tel :  +90 312 302 26 81
> Fax : +90 312 361 20 40
> e-mail: mcoskun at meteor.gov.tr
>
> ------------------------------
> * Bu e-posta ve muhtemel eklerinde verilen bilgiler kişiye özel ve gizli
> olup, yalnızca mesajda belirlenen alıcı ile ilgilidir.
> Bu mesajda bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres
> sahip(ler)ine ait olup, Devlet Meteoroloji İşleri Genel Müdürlüğü hiç bir
> şekilde sorumlu tutulamaz.Devlet Meteoroloji İşleri Genel Müdürlüğü,
> mesajın ve bilgilerinin size değişikliğe uğrayarak veya geç ulaşmasından,
> bütünlüğünün ve gizliliğinin korunamamasından, virüs içermesinden ve
> bilgisayar sisteminize verebileceği herhangi bir zarardan sorumlu tutulamaz.
> *
> ------------------------------
>
> ------------------------------
> * This message and attachments are confidential and intended solely for
> the individual(s) stated in this message.
> This email is not intended to impose nor shall it be construed as imposing
> any legally binding obligation upon Turkish State Meteorological Service
> and/or any of its subsidiaries or associated companies. Neither Turkish
> State Meteorological Service nor any of its subsidiaries or associated
> companies gives any representation or warranty as to the accuracy or
> completeness of the contents of this email. Turkish State Meteorological
> Service shall not be held liable to any person resulting from the use of any
> information contained in this email and shall not be liable to any person
> who acts or omits to do anything in reliance upon it.
> *
> ------------------------------
>
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
>
>
>


-- 
Imran Nadeem
PhD Student
Institute of Meteorology
Department of Water, Atmosphere and Environment
Uni. of Natural Resources and Applied Life Sciences (BOKU)

Peter-Jordan Strasse 82
1190 Vienna, Austria

Mobile: +43 699 1194 3044
Tel.: +43 1 47654 5614
Fax: +43 1 47654 5610
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20061212/79a873cd/attachment-0002.html>


More information about the RegCNET mailing list