CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Odd error when using OpenFOAM compiled with --march=native

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2012, 23:36
Default Odd error when using OpenFOAM compiled with --march=native
  #1
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 15
JLight is on a distinguished road
Hi OF Users!
I recentely compiled the OpenFOAM-2.1.x on two types of processor.

Machine 1
Dell Laptop: Intel i7-2670QM CPU

Machine 2
HPC Cluster: AMD Opteron Processor 2376

Everything seemed fine until I tried the following.

1. Run a case using rhoCentralFoam on Machine 2
2. Download the case to Machine 1
3. Try to continue the run on Machine 1.

I get this error.
Code:
--> FOAM FATAL ERROR: 
Attempt to cast type N4Foam5token8CompoundINS_4ListIdEEEE to type N4Foam5token8CompoundINS_4ListINS_6VectorIdEEEEEE

    From function dynamicCast<To>(From&)
    in file /home/jlight/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/typeInfo.H at line 93.

FOAM aborting
Both were compiled with gcc 4.7.2. Is the error possible because of the compiler option? Or should I start considering re-compiling the OF without the -march=native option.

I used older version of OF (1.7.1 and 2.0.0) without the march=native option and never had this issue.

Cheers!

Nishit
JLight is offline   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
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
OpenFOAM compiled with Intel C++ Compiler? af631717 OpenFOAM Running, Solving & CFD 4 June 5, 2009 06:41
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Version 1.3 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 March 29, 2006 18:06


All times are GMT -4. The time now is 04:53.