|
[Sponsors] |
Compilation on SGI Altix using intel compiler |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2006, 06:14 |
I run into the following error
|
#1 |
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. |
|
July 13, 2006, 12:56 |
Try replacing uint64_t with 'u
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Try replacing uint64_t with 'unsigned long long' (or anything else which is 64 bit unsigned integer)
|
|
July 17, 2006, 12:14 |
Yes, replacing uint64_t with '
|
#3 |
Guest
Posts: n/a
|
Yes, replacing uint64_t with 'unsigned long long' indeed worked.
Thanks! |
|
July 18, 2006, 06:47 |
After the above modification,
|
#4 |
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. |
|
July 19, 2006, 04:23 |
Possibly your run-time selecti
|
#5 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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. |
|
July 19, 2006, 04:49 |
>Try running a mesh generated
|
#6 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Intel Fortran Compiler & Tutorial 17 | Young | CFX | 1 | March 30, 2011 02:39 |
intel fortran compiler | emrah | Main CFD Forum | 3 | September 22, 2008 15:49 |
Compiling with Intel compiler icc90 | hjasak | OpenFOAM Installation | 19 | October 27, 2007 12:35 |
Intel compiler for linux x86 | marcus | Siemens | 1 | November 9, 2006 17:43 |
problems with intel fortran compiler | ryoga | Main CFD Forum | 3 | September 24, 2003 12:42 |