|
[Sponsors] |
August 14, 2004, 06:17 |
udf and unix for help.
|
#1 |
Guest
Posts: n/a
|
Hi! everybody, I meet a question when using udf function of Fluent, my machine is unix system and IBM workstation.when I load library file appear error "open_udf_library:No such file or directory". But I am success in PC win2000 system. Please give me a way to solve it, Thanks very much.
the question furture description: 1) the information in the file /scratch/wqgong/ufd/log produced when compile is for d in aix51_64/[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/wall_pressure_2D.c in aix51_64/2d # linking to ../../src/makefile in aix51_64/2d # building library in aix51_64/2d 2) the error information in the file /scratch/wqgong/ufd/libudf/aix51_64/2d/makelog is # Generating udf_names.c because of makefile wall_pressure_2D.c make libudf.so "CFLAGS=-O -q64 -qnolm -qalign=natural" "LDFLAGS=-b64" "LD=makeshared" # Compiling udf_names.o because of udf_names.c cc -O -q64 -qnolm -qalign=natural -I/usr/local/Fluent.Inc/fluent6.1.22/`expr \`pwd\` : '.*/\(.*\)/[23].*'`/`basename \`pwd\`` -I/usr/local/Fluent.Inc/fluent6.1.22/src -I/usr/local/Fluent.Inc/fluent6.1.22/cortex/src -I/usr/local/Fluent.Inc/fluent6.1.22/client/src -I/usr/local/Fluent.Inc/fluent6.1.22/tgrid/src -I/usr/local/Fluent.Inc/fluent6.1.22/multiport/src -c udf_names.c /bin/sh: cc: not found. make: 1254-004 The error code from the last command is 127. (continuing) # Compiling wall_pressure_2D.o because of wall_pressure_2D.c cc -O -q64 -qnolm -qalign=natural -I/usr/local/Fluent.Inc/fluent6.1.22/`expr \`pwd\` : '.*/\(.*\)/[23].*'`/`basename \`pwd\`` -I/usr/local/Fluent.Inc/fluent6.1.22/src -I/usr/local/Fluent.Inc/fluent6.1.22/cortex/src -I/usr/local/Fluent.Inc/fluent6.1.22/client/src -I/usr/local/Fluent.Inc/fluent6.1.22/tgrid/src -I/usr/local/Fluent.Inc/fluent6.1.22/multiport/src -c wall_pressure_2D.c /bin/sh: cc: not found. make: 1254-004 The error code from the last command is 127. (continuing) Target "libudf.so" did not make because of errors. make: 1254-004 The error code from the last command is 4. (continuing) make: 1254-004 The error code from the last command is 2. (continuing) |
|
August 14, 2004, 08:21 |
Re: udf and unix for help.
|
#2 |
Guest
Posts: n/a
|
It doesn't look like you have a c compiler installed.
The bit where it says "/bin/sh: cc: not found" is the important bit. |
|
August 20, 2004, 06:30 |
Re: udf and unix for help.
|
#3 |
Guest
Posts: n/a
|
Thanks Rob's help very much, but my manchine is installed a c complier at /usr/vac/bin. I want to know how to do for me?
Gong WT. |
|
August 20, 2004, 06:58 |
Re: udf and unix for help.
|
#4 |
Guest
Posts: n/a
|
Thank you very much, According to your advice I solved my problem by placing the C complier location directory in the .cshrc file.
|
|
August 28, 2004, 08:45 |
Re: udf and unix for help.
|
#5 |
Guest
Posts: n/a
|
Hi Gong!
I have posted a message (seehttp://www.cfd-online.com/Forum/fluent.cgi?read=21676) similar to your message, but there isn't this part "/bin/sh: cc: not found"... ??? Could you explain how have you solved your problem going into detail? Thanks Tim |
|
August 29, 2004, 05:40 |
Re: udf and unix for help.
|
#6 |
Guest
Posts: n/a
|
Hi!, Tim, I think maybe your issue is different from mine, my question just is the C complier executable file path not connected, but I still hope have a help. I put the path into the file ".cshrc ". the detail step is:
1)after % in unix, input the commond: vi .cshrc open the file .cshrc 2) then add the following path in this file: set path = ( /usr/vac/bin ) then use flunet udf funtion again, all is ok. |
|
August 29, 2004, 10:57 |
Re: udf and unix for help.
|
#7 |
Guest
Posts: n/a
|
Hi Gong!!!
Thank you for your fast reply!!! I've finally found my stupid mistake: I 've created 3d directory in libudf, while my mesh was 2d !!!I hope this could be useful for someone else. Tim |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
UDF works in windows workstation but not in UNIX w | J Fernandes | FLUENT | 0 | November 19, 2008 18:45 |
UDF problem | lichun Dong | FLUENT | 1 | April 26, 2005 15:46 |
UDF WIN vs UNIX | LE | FLUENT | 1 | July 18, 2004 09:19 |
compile the UDF | Li Jingping | FLUENT | 2 | April 14, 2003 22:18 |