CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   unable to determine machine architecture (https://www.cfd-online.com/Forums/fluent-udf/46670-unable-determine-machine-architecture.html)

mrt November 26, 2007 10:17

unable to determine machine architecture
 
Dear All,

I am running Fluent on 64-bit LINUX machine. I try to run UDF's from Fluent tutorials by using text user interface (TUI). At UDF Manual (5.3 Compile a UDF Using the TUI page 5-12) step 6. identify the architecture name of the machine that you are running from. I run the FLUENT utility program fluent_arch at the command line of a UNIX shell.

ERROR message: usera@lptsv743:~>fluent_arch /Fluent.Inc/bin/fluent_arch: Unable to determine machine architecture. Set the environment variable FLUENT_ARCH and try again.

The thing is I can run simulations on workstation without problem but I can't use/compile UDFs. I would like to know if the problem is due to wrong installation of some components. Can you please advise something on that?

with kind regards,

Ganapathy November 26, 2007 23:26

Re: unable to determine machine architecture
 
The following commands may help you.

1. uname -a 2. cat /etc/issue 3. cat /proc/cpuinfo

Set the Env variable FLUENT_ARCH to lnamd64

mrt November 27, 2007 08:36

Re: unable to determine machine architecture
 
Thank you so much ...problem solved ....

Shamoon Jamshed March 14, 2012 11:58

Set env variable for Fluent_Arch and try again
 
Quote:

Originally Posted by mrt
;146960
Thank you so much ...problem solved ....

Hi,

Where did you set this env variable.
Do you have amd architecture? what if the architecture is x86_64

lukasf June 16, 2021 04:57

Quote:

Originally Posted by Ganapathy
;146945
The following commands may help you.

1. uname -a 2. cat /etc/issue 3. cat /proc/cpuinfo

Set the Env variable FLUENT_ARCH to lnamd64




Thanks for the hint.


However, uname -a reavels x86_64 and not lnamd64 for me.


The command "export FLUENT_ARCH=x86_64" does not work



but



"FLUENT_ARCH=lnamd64 export FLUENT_ARCH"


did work in the terminal.


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