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

Fluent on SLES9

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2005, 02:17
Default Fluent on SLES9
  #1
mAx
Guest
 
Posts: n/a
Hi, I am migrating to Suse Linux Enterprise Server 9. I installed Fluent without problem, and as I compiled a UDF which work perfectly on XP I have error on compilation. Any idea?

The log file shows:

for d in lnx86/[23]*; do \ ( \

cd $d; \

for f in ../../src/*.[ch] ../../src/makefile; do \

if [ ! -f `basename $f` ]; then \

echo "# linking to" $f "in" $d; \

ln -s $f .; \

fi; \

done; \

echo ""; \

echo "# building library in" $d; \

make -k>makelog 2>&1; \

cat makelog; \ ) \ done # linking to ../../src/valve.c in lnx86/3d

# building library in lnx86/3d make[1]: Entering directory `/home/maxime/CFD/libudf/lnx86/3d' # Generating udf_names.c because of makefile valve.c make[2]: Entering directory `/home/maxime/CFD/libudf/lnx86/3d' make libudf.so "CFLAGS=-fpic -shared -ansi -Wall -O " "LDFLAGS=-shared -lm" make[3]: Entering directory `/home/maxime/CFD/libudf/lnx86/3d' # Compiling udf_names.o because of udf_names.c cc -fpic -shared -ansi -Wall -O -I/usr/share/applications/Fluent.Inc/fluent6.2.16/`expr \`pwd\` : '.*/\(.*\)/[23].*'`/`basename \`pwd\`` -I/usr/share/applications/Fluent.Inc/fluent6.2.16/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/cortex/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/client/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/tgrid/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/multiport/src -c udf_names.c /bin/sh: line 1: cc: command not found make[3]: *** [udf_names.o] Erreur 127 # Compiling valve.o because of valve.c cc -fpic -shared -ansi -Wall -O -I/usr/share/applications/Fluent.Inc/fluent6.2.16/`expr \`pwd\` : '.*/\(.*\)/[23].*'`/`basename \`pwd\`` -I/usr/share/applications/Fluent.Inc/fluent6.2.16/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/cortex/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/client/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/tgrid/src -I/usr/share/applications/Fluent.Inc/fluent6.2.16/multiport/src -c valve.c /bin/sh: line 1: cc: command not found make[3]: *** [valve.o] Erreur 127 make[3]: La cible « libudf.so » n'a pas pu être refabriquée à cause d'erreurs. make[3]: Leaving directory `/home/maxime/CFD/libudf/lnx86/3d' make[2]: *** [lnx86] Erreur 2 make[2]: Leaving directory `/home/maxime/CFD/libudf/lnx86/3d' make[1]: *** [default] Erreur 2 make[1]: Leaving directory `/home/maxime/CFD/libudf/lnx86/3d'

==================================== Thanks for helping mAx
  Reply With Quote

Old   March 31, 2005, 05:51
Default Re: Fluent on SLES9
  #2
Farid
Guest
 
Posts: n/a
your shell is unable to find the C compiler. You have to add the cc command location to your path. I think that you have to install the GCC compiler on the machine as it is not installed by default. Use simply Yast to install it.

Tout simplement.
  Reply With Quote

Old   March 31, 2005, 14:40
Default Re: Fluent on SLES9
  #3
ap
Guest
 
Posts: n/a
Yes, you just have to install the gcc suite, which is under the section Development in Yast.

Also, if you used short comments like

// Text of the comment

in your code, you should replace them with the standard comment

/* Text of the comment */

Best regards, ap
  Reply With Quote

Old   April 1, 2005, 01:03
Default Re: Fluent on SLES9
  #4
mAx
Guest
 
Posts: n/a
Parfait! Merci
  Reply With Quote

Reply


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
Stopping a Fluent batch job AND saving the data! Possible? Volker Pawlik FLUENT 13 December 28, 2020 04:16
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 7 March 23, 2018 03:22
Compared MRFSimpleFoam and Fluent in a centrifugal pump! renyun0511 OpenFOAM Running, Solving & CFD 8 July 6, 2010 06:24
Fluent 12.0 is worst then Fluent 6.2 herntan FLUENT 5 December 14, 2009 02:57
Problems in lauching FLUENT Lourival FLUENT 3 January 16, 2008 16:48


All times are GMT -4. The time now is 21:29.