CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

Compilation Error when running Tutorial 2.4

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2008, 13:10
Default Compilation Error when running Tutorial 2.4
  #1
zhihuali
Guest
 
Posts: n/a
Hi all,

I tried tutorial 2.4 and the following error appeared when I started the calculation:

PNP: Initialized [2008-03-28-18:42:30] Automatic Sequential Automatic Parallel analyzer.

PNP: Allocated "lizhihua,1" resource (1 process).

PNP: Assigned "lizhihua,1" to STAR solver (1 process).

PNP: Analyzing User coding in "ufile" directory.

PNP: compiling /opt/absoft/bin/f90 -w -fPIC -YCCM_NAMES=LCS -YEXT_NAMES=LCS -YEXT_SFX=_-B19 -cpupteron -mcmodel=medium -m64 -c droico.f -o linux64_2.4-absoft_9.0a-glibc_2.2.5-dso/dp/droico.o

PNP:

PNP:Error: bad option: -cpupteron

PNP: ***ERROR*** Compilation error in user file "ufile/droico.f".

PNP: ==> Please check the compilation error messages.

The fortran package I installed is profortran75

My linux is a 64 bit rehat enterprise 4

Starcd version:3.24 with x86_64 platform

I checked the messages in this forum that menstion similar problems, to which answer is their fortran is too old.But the error I have is not the all the same, and I dont know how to solve it.

Does anybody know why this occurs?Any resolution?

Many thanks in advance!

Zhihua

  Reply With Quote

Old   March 28, 2008, 13:49
Default Re: Compilation Error when running Tutorial 2.4
  #2
James
Guest
 
Posts: n/a
You have to use the fortran package specified in the install notes which for 3.24 is ABSOFT, you can't use any other fortran compiler.
  Reply With Quote

Old   March 28, 2008, 15:28
Default Re: Compilation Error when running Tutorial 2.4
  #3
Pauli
Guest
 
Posts: n/a
It seems like I've run into this problem. Unfortunately I don't remember the answer.

It looks like they are using ABSOFT ( PNP: compiling /opt/absoft/bin/f90 ...). The problem is that the compiler is bing fed an invalid option (PNP:Error: bad option: -cpupteron).

Is it a setting in software.ini or hardware.ini? I don't have a 3.24 installation. I checked my 3.26 installation but didn't spot anything which looked appropriate.

  Reply With Quote

Old   March 28, 2008, 15:39
Default Re: Compilation Error when running Tutorial 2.4
  #4
James
Guest
 
Posts: n/a
see my previous answer....(although in 3.26 you can use PGI too)

  Reply With Quote

Old   March 29, 2008, 14:54
Default Re: Compilation Error when running Tutorial 2.4
  #5
zhihuali
Guest
 
Posts: n/a
Hi,

Thanks for your answer.

I found my software.ini file in starcd/etc, and in the linux settings, there seems to be 2 linux platforms(x86 and x86_64)installed and different versions of aboft are involved for the 2 platforms. Does this cause the error?

(When I installed starcd 3.24, there are two options,x86 and x86_64, in the Platforms Section, and I chose the latter. I dont know why there appears to be two platforms.)

Linux settings in my Software.ini:

#

# Linux settings

#

platform Linux_x86 FLEXLM=$FLEXLMTOP/linux_2.4-x86-glibc_2.2.2

platform Linux_x86 LAMHOME=$LAMTOP/linux_2.4-gcc_2.95.3-glibc_2.2.2-dso

platform Linux_x86 MPICH=$MPICHTOP/linux_2.4-gcc_2.95.3-glibc_2.2.2-dso

platform Linux_x86 PROSTAR=$PROSTARTOP/linux_2.2-x86-glibc_2.2.0

group Linux_x86-glibc_2.3.2 PROSTAR=$PROSTARTOP/linux_2.4-x86-glibc_2.3.2

platform Linux_x86 RUNTIME=$RUNTIMETOP/linux_2.4-x86-glibc_2.2.2

platform Linux_x86 STAR=$STARTOP/linux_2.4-absoft_8.2ap1-glibc_2.2.2-dso

##platform Linux_x86 STAR=$STARTOP/linux_2.4-ifc_7.0-glibc_2.2.2-dso

platform Linux_x86 STARLAUNCH=$STARLAUNCHTOP/linux_2.2-x86-glibc_2.2.0

#

platform Linux_x86_64 FLEXLM=$FLEXLMTOP/linux64_2.4-x86-glibc_2.2.5

platform Linux_x86_64 LAMHOME=$LAMTOP/linux64_2.4-gcc_3.2.2-glibc_2.2.5-dso

platform Linux_x86_64 MPICH=$MPICHTOP/linux64_2.4-gcc_3.2.2-glibc_2.2.5-dso

platform Linux_x86_64 PROSTAR=$PROSTARTOP/linux64_2.4-x86-glibc_2.2.5

platform Linux_x86_64 RUNTIME=$RUNTIMETOP/linux64_2.4-x86-glibc_2.2.5

platform Linux_x86_64 STAR=$STARTOP/linux64_2.4-absoft_9.0a-glibc_2.2.5-dso

##platform Linux_x86_64 STAR=$STARTOP/linux64_2.4-pgf90_5.2-glibc_2.2.5-dso

platform Linux_x86_64 STARLAUNCH=$STARLAUNCHTOP/linux64_2.4-x86-glibc_2.2.5

Zhihua Li

  Reply With Quote

Old   March 30, 2008, 05:50
Default Re: Compilation Error when running Tutorial 2.4
  #6
James
Guest
 
Posts: n/a
Unless you have absoft installed you are not going to get anywhere, it doesn't matter which port of the code you use, you still have to have the absoft compiler to use subroutines. Absoft isn't included in the installation you have to purchase/install it separately
  Reply With Quote

Old   March 30, 2008, 09:55
Default Re: Compilation Error when running Tutorial 2.4
  #7
zhihuali
Guest
 
Posts: n/a
Hi,

Thanks!

I did install, separately, absoft to the /opt directory, but now I found it is a 32 bit absoft that probably caused the problem?

Zhihua Li

  Reply With Quote

Old   April 1, 2008, 07:34
Default Re: Compilation Error when running Tutorial 2.4
  #8
zhihuali
Guest
 
Posts: n/a
Hi there,

I borrowed pgi6.0 and installed it. However, after the display of model specifications, another error appeared:

/usr/starcd/STAR/3.24.000/linux64_2.4-pgf90_5.2glibc_2.2.5-dso/lib/star: symbol lookup error: /home/lzh/1/ufile/linux64_2.4-pgf90_5.2glibc_2.2.5-dso/dp/libstarusr.so: undefined symbol:__fmth_i_dlog PNP:Shut down [2008-04-01-11:52:11]Execution aborted by request (SIGABRT) after 1 seconds(TOTAL ELAPSED TIME)

What does that mean?

Zhihua
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in running tutorial cases preetham OpenFOAM Installation 2 June 13, 2009 16:36
udf compilation error sdp FLUENT 0 February 5, 2009 02:58
UDF compilation error Hari FLUENT 0 February 22, 2008 13:40
Running Tutorial Eulerian Granular Heat file Femi FLUENT 0 March 8, 2007 12:01
Tutorial is not running on star-CD version 3.2 Arnab Siemens 0 August 30, 2004 15:43


All times are GMT -4. The time now is 09:12.