|
[Sponsors] |
January 25, 2008, 05:40 |
UDF compilation problem on Linux System
|
#1 |
Guest
Posts: n/a
|
Hi i m getting following error during the compilation of my UDF. UDF is working in Windows system but in linux its show the following error. can anybody pls specify what kinda of error it is?
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; \ if [ "" = "1" ]; then \ echo "# using gcc64"; \ make ARCHC=gcc64 -k>makelog 2>&1; \ else \ if [ "" = "1" ]; then \ echo "# using gcc"; \ make ARCHC=gcc -k>makelog 2>&1; \ else \ make -k>makelog 2>&1; \ fi; \ fi;\ cat makelog; \ ) \ done # building library in lnx86/2ddp make[1]: Entering directory `/home/sankhya/users/pathak/sph/libudf/lnx86/2ddp' make[1]: *** No rule to make target `incp1994ch.c', needed by `udf_names.c'. make[1]: Target `default' not remade because of errors. make[1]: Leaving directory `/home/sankhya/users/pathak/sph/libudf/lnx86/2ddp' |
|
July 10, 2014, 12:41 |
|
#2 |
New Member
xkrautsc
Join Date: Jul 2010
Posts: 1
Rep Power: 0 |
I am facing the same problem now. Can somebody write here the solution ?
I am sure it is some trivial thing. |
|
December 16, 2015, 10:22 |
|
#3 |
Member
Georgy
Join Date: Apr 2011
Location: Russia
Posts: 32
Rep Power: 15 |
Any news?
I have the same problem on Linux x64. |
|
September 29, 2018, 00:21 |
|
#4 |
New Member
Richard
Join Date: Mar 2010
Posts: 3
Rep Power: 16 |
This problem can be solved by copying the file "example.c" from the folder "src" to folder "lnamd64/3d"
|
|
September 29, 2018, 07:34 |
|
#5 |
Senior Member
|
||
September 29, 2018, 10:37 |
|
#6 |
New Member
Richard
Join Date: Mar 2010
Posts: 3
Rep Power: 16 |
It's true. However, this problem still exits... My ANSYS Fluent version is 18.1 and no answer is found in the forum. Therefore, I think it's worth sharing some experience.
|
|
September 29, 2018, 21:26 |
|
#7 |
Senior Member
|
I don't know what the exact error you have encountered, but according to your solution I think a more legit solution to your problem is by setting the environment variable using
Code:
export FLUENT_ARCH=lnamd64 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
!!! UDF - Compilation problem !!! | Everest | FLUENT | 1 | January 12, 2009 18:56 |
udf compile in parallel system | tahereh | FLUENT | 1 | December 9, 2008 10:48 |
UDF using problem, error happens-heip!! | Michael | FLUENT | 1 | December 9, 2008 08:51 |
compatibility problem of UDF on LINUX | manu | FLUENT | 4 | December 19, 2007 05:58 |
UDF compilation problem -- "undeclared variable" | Henrik Ström | FLUENT | 1 | September 21, 2005 06:25 |