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

Compilation on SGI Altix using intel compiler

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2006, 05:14
Default I run into the following error
  #1
markusuhlmann
Guest
 
Posts: n/a
I run into the following error when compiling on an SGI Altix system (IA-64 processors, linux kernel 2.4.21), using the intel 9.0 compiler:

------------------------------------------------
...
SOURCE_DIR=OSspecific/Unix/signals
SOURCE=OSspecific/Unix/signals/sigFpe.C ; icpc -gcc-version=330 -DlinuxIA64 -DDP -wd654,819,1125,1476,1505,1572 -O3 -ftz -DNoRepository -DWM_PROJECT_VERSION='"'1.3'"' -I/disco07/c_fosiles/uhlmann/OpenFOAM/OpenFOAM-1.3/src/zlib-1.2.1 -I/disco07/c_fosiles/uhlmann/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -KPIC -c $SOURCE -o Make/linuxIA64I64DPOpt/sigFpe.o
OSspecific/Unix/signals/sigFpe.C(88): error: identifier "uint64_t" is undefined
const uint64_t sNAN = 0x7ff7ffffffffffffllu;
^

OSspecific/Unix/signals/sigFpe.C(92): error: identifier "uint64_t" is undefined
uint64_t* dPtr = reinterpret_cast<uint64_t*>(result);
^

OSspecific/Unix/signals/sigFpe.C(92): error: identifier "dPtr" is undefined
uint64_t* dPtr = reinterpret_cast<uint64_t*>(result);
^

OSspecific/Unix/signals/sigFpe.C(92): error: "uint64_t" is not a type name
uint64_t* dPtr = reinterpret_cast<uint64_t*>(result);
^

compilation aborted for OSspecific/Unix/signals/sigFpe.C (code 2)
--------------------------------------------

any idea?

(one suggestion might be "use the gnu compiler", but we are still having trouble installing a more recent version)

thanks in advance.
  Reply With Quote

Old   July 13, 2006, 11:56
Default Try replacing uint64_t with 'u
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Try replacing uint64_t with 'unsigned long long' (or anything else which is 64 bit unsigned integer)
mattijs is offline   Reply With Quote

Old   July 17, 2006, 11:14
Default Yes, replacing uint64_t with '
  #3
markusuhlmann
Guest
 
Posts: n/a
Yes, replacing uint64_t with 'unsigned long long' indeed worked.

Thanks!
  Reply With Quote

Old   July 18, 2006, 05:47
Default After the above modification,
  #4
markusuhlmann
Guest
 
Posts: n/a
After the above modification, I finished the compilation of openfoam.

Then I started with the example "icoFoam" from the tutorial, as suggested
in the "README". "blockMesh . cavity" generates a singular "points" file,
as follows:

-------------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;

root "/disco07/c_fosiles/uhlmann/OpenFOAM/uhlmann-1.3/run/tutorials/icoFoam"
;
case "cavity";
instance ""constant"";
local "polyMesh";

class vectorField;
object points;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

882{(0 0 0)}

// ************************************************** *********************** //
-----------------------------------------------------------------------------
Any ideas of what is going on?

Thanks.
  Reply With Quote

Old   July 19, 2006, 03:23
Default Possibly your run-time selecti
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Possibly your run-time selection tables are not constructed correctly? (compiler issue)

Try running a mesh generated on another machine and see if you get any messages about non-existing boundary conditions.
mattijs is offline   Reply With Quote

Old   July 19, 2006, 03:49
Default >Try running a mesh generated
  #6
markusuhlmann
Guest
 
Posts: n/a
>Try running a mesh generated on another machine

We did just that (icoFoam-cavity,laplacianFoam; also in parallel using SGI MPT-1.9.1) and it works fine on grids/decompositions generated on a different machine.
  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
Intel Fortran Compiler & Tutorial 17 Young CFX 1 March 30, 2011 01:39
intel fortran compiler emrah Main CFD Forum 3 September 22, 2008 14:49
Compiling with Intel compiler icc90 hjasak OpenFOAM Installation 19 October 27, 2007 11:35
Intel compiler for linux x86 marcus Siemens 1 November 9, 2006 16:43
problems with intel fortran compiler ryoga Main CFD Forum 3 September 24, 2003 11:42


All times are GMT -4. The time now is 12:37.