View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001345 | OpenFOAM | Bug | public | 2014-07-10 00:35 | 2014-07-22 17:05 |
Reporter | Assigned To | will | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | x86_64 | OS | CentOS | OS Version | 6.4 |
Summary | 0001345: Using function object systemCall results in crash for some cases | ||||
Description | We are experimenting using the function object systemCall to transfer data from a local file system back to our global file system. When we use systemCall with tutorials/incompressible/pimpleDyMFoam/propeller this works as expected, however when trialing this with tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation it fails with: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : chtMultiRegionSimpleFoam -parallel Date : Jul 09 2014 Time : 13:42:59 Host : "nid00248" PID : 3355 Case : /scratch/director100/pryan/of/multiRegionHeaterRadiation nProcs : 4 Slaves : 3 ( "nid00248.3356" "nid00248.3357" "nid00248.3358" ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time <snip> [0] [0] [0] --> FOAM FATAL ERROR: [0] request for objectRegistry region0 from objectRegistry multiRegionHeaterRadiationprocessor0 failed available objects of type objectRegistry are 5 ( bottomAir rightSolid heater topAir leftSolid ) <snip> | ||||
Steps To Reproduce | Run the example from tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation and add the following to system/controlDict: // ************************************************************************* // functions { sysCall { type systemCall; functionObjectLibs ( "libsystemCall.so" ); writeCalls 1("echo DEBUG writeCalls"); outputControl outputTime; } } // ************************************************************************* // | ||||
Additional Information | We get this issue on two cluster, a CentOS 6.4 x86_64 cluster, as well as a Cray XC30. | ||||
Tags | No tags attached. | ||||
|
In a multi-region case, you need to put the "region" keyword into the function object dictionary. Eg: functions { sysCall { type systemCall; functionObjectLibs ( "libsystemCall.so" ); region bottomAir; // or "rightSolid", "heater", etc ... writeCalls 1("echo DEBUG writeCalls"); outputControl outputTime; } } |