IBFEMethod: using FIRST order LAGRANGE finite elements.
#0 0x0000003e0fa99e0f in ?? ()
#1 0xffffffffffff8e90 in ?? ()
#2 0x00007fffffffc28c in ?? ()
#3 0x0000000000000001 in ?? ()
#4 0x0000003e0fa3c4a1 in ?? ()
#5 0x0000000000000001 in ?? ()
#6 0x0000000000010000 in ?? ()
#7 0x0000000000000000 in ?? ()
[0] ../libmesh-1.0.0/src/utils/xdr_cxx.C, line 177, compiled Aug 22 2016 at 18:31:13
*********************************************************************
READING THE FILE "/libmesh_data_part_0.000000.xdr" FAILED.
It is possible this file contains infinite element information,
but the version string does not contain " with infinite elements"
Let's try this again, but looking for infinite element information...
*********************************************************************
#0 0x0000003e0fa99e0f in ?? ()
#1 0xffffffffffff8e90 in ?? ()
#2 0x00007fffffffc28c in ?? ()
#3 0x0000000000000001 in ?? ()
#4 0x0000003e0fa3c4a1 in ?? ()
#5 0x0000000000000001 in ?? ()
#6 0x0000000000010000 in ?? ()
#7 0x0000000000000000 in ?? ()
[0] ../libmesh-1.0.0/src/utils/xdr_cxx.C, line 177, compiled Aug 22 2016 at 18:31:13
*********************************************************************
Well, at least we tried!
Good Luck!!
*********************************************************************
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
On Aug 30, 2016, at 3:57 PM, Alexander Hoover <hoover.a...@gmail.com> wrote:Hi all,I'm trying to set up a run from a restart interval and am having a little trouble. I've installed a more recent version of IBAMR (libmesh 1.0, petsc 3.7.3) to IBFE, and everything seems to run ok. I first adjusted the restart dump parameters in the input file// restart dump parametersrestart_dump_interval = 1 // just to test the restartrestart_dump_dirname = "restart_IB3d"which outputted restore.1, restore.2,..., to the restart_IB3d folder in the initial run. I then set up tried to restart the run with the command./main3d input3d restart_IB3d 2and the following error pops up:IBFEMethod: using FIRST order LAGRANGE finite elements.
#0 0x0000003e0fa99e0f in ?? ()
#1 0xffffffffffff8e90 in ?? ()
#2 0x00007fffffffc28c in ?? ()
#3 0x0000000000000001 in ?? ()
#4 0x0000003e0fa3c4a1 in ?? ()
#5 0x0000000000000001 in ?? ()
#6 0x0000000000010000 in ?? ()
#7 0x0000000000000000 in ?? ()
[0] ../libmesh-1.0.0/src/utils/xdr_cxx.C, line 177, compiled Aug 22 2016 at 18:31:13
*********************************************************************
READING THE FILE "/libmesh_data_part_0.000000.xdr" FAILED.
--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users...@googlegroups.com.
To post to this group, send email to ibamr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Aug 31, 2016, at 1:18 PM, Alexander Hoover <hoover.a...@gmail.com> wrote:So, I believe I've gotten past this issue by adjusting the IBFEMethod constructor.Pointer<IBFEMethod> ib_method_ops = new IBFEMethod( "IBFEMethod", app_initializer->getComponentDatabase("IBFEMethod"), &mesh, app_initializer->getComponentDatabase("GriddingAlgorithm")->getInteger("max_levels"), is_from_restart, restart_directory, restart_restore_number);where earlier in the code:const bool is_from_restart= app_initializer->isFromRestart();const int restart_restore_number = app_initializer->getRestartRestoreNumber();const string restart_directory = app_initializer->getRestartReadDirectory();Now the issue is if it's actually restarting. I take it that we can use the bool from above to select the proper input_db, alaif(is_from_restart){Pointer<Database> input_db = app_initializer->getRestartDatabase();}else{Pointer<Database> input_db = app_initializer->getInputDatabase();}
On Aug 31, 2016, at 2:50 PM, Alexander Hoover <hoover.a...@gmail.com> wrote:Previous issue related to not inputting the full restart directory and so ignored the restart. I set bool to output a confirmation we're using the restart db. I now get the issue below, which is in line with what you mentioned of having to write FEData to the restart.
Starting from a restart...
*** Warning, This code is deprecated, and likely to be removed in future library versions! ./include/libmesh/auto_ptr.h, line 270, compiled Aug 22 2016 at 18:24:08 ***
P=00000:Program abort called in file ``/nas02/home/h/o/hooverap/sfw/ibamr/IBAMR_082016/IBAMR/lib/../src/IB/IBFEMethod.cpp'' at line 2379
P=00000:ERROR MESSAGE:
P=00000:IBFEMethod: Restart database corresponding to IBFEMethod not found in restart file.
./main3d input3d $PWD/restart_IB3d 4
Starting from a restart...
*** Warning, This code is deprecated, and likely to be removed in future library versions! ./include/libmesh/auto_ptr.h, line 270, compiled Aug 22 2016 at 18:24:08 ***
P=00000:Program abort called in file ``/nas02/home/h/o/hooverap/sfw/ibamr/IBAMR_082016/IBAMR/lib/../src/IB/IBFEMethod.cpp'' at line 2379
P=00000:ERROR MESSAGE:
P=00000:IBFEMethod: Restart database corresponding to IBFEMethod not found in restart file.
P=00000:
[killdevil-login2:08851] *** Process received signal ***
[killdevil-login2:08851] Signal: Aborted (6)
[killdevil-login2:08851] Signal code: (-6)
[killdevil-login2:08851] [ 0] /lib64/libpthread.so.0 [0x3e10a0eca0]
[killdevil-login2:08851] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3e0fa2ffc5]
[killdevil-login2:08851] [ 2] /lib64/libc.so.6(abort+0x110) [0x3e0fa31a70]
[killdevil-login2:08851] [ 3] ./main3d(_ZN6SAMRAI4tbox10SAMRAI_MPI5abortEv+0x4e) [0xc3629e]
[killdevil-login2:08851] [ 4] ./main3d(_ZN5IBAMR10IBFEMethod14getFromRestartEv+0x5b5) [0x7425b5]
[killdevil-login2:08851] [ 5] ./main3d(_ZN5IBAMR10IBFEMethod17commonConstructorERKSsN6SAMRAI4tbox7PointerINS4_8DatabaseEEERKSt6vectorIPN7libMesh4MeshESaISB_EEibS2_j+0xa3a) [0x75a80a]
[killdevil-login2:08851] [ 6] ./main3d(_ZN5IBAMR10IBFEMethodC1ERKSsN6SAMRAI4tbox7PointerINS4_8DatabaseEEEPN7libMesh4MeshEibS2_j+0x467) [0x75ceb7]
[killdevil-login2:08851] [ 7] ./main3d(main+0x9ed) [0x60793d]
[killdevil-login2:08851] [ 8] /lib64/libc.so.6(__libc_start_main+0xf4) [0x3e0fa1d9f4]
[killdevil-login2:08851] [ 9] ./main3d(_ZNK7libMesh10SerialMesh13pid_nodes_endEt+0x71) [0x525579]
[killdevil-login2:08851] *** End of error message ***
Aborted
libmesh_data_part_0.000002.xdr libmesh_data_part_0.000004.xdr libmesh_data_part_0.000005.xdr restore.000002 restore.000004 restore.000005
Does that look right? The three differences between my code and the example's code is:
1. Setting the restart read variables
const string restart_read_dirname = app_initializer->getRestartReadDirectory();
const int restart_restore_num = app_initializer->getRestartRestoreNumber();
const bool is_from_restart= app_initializer->isFromRestart();
if (is_from_restart)
{
pout << "\n\n Starting from a restart...\n\n";
}
2. Setting up IBFE from restart
Pointer<IBFEMethod> ib_method_ops = new IBFEMethod(
"IBFEMethod", app_initializer->getComponentDatabase("IBFEMethod"), &mesh, app_initializer->getComponentDatabase("GriddingAlgorithm")->getInteger("max_levels"), is_from_restart, restart_read_dirname, restart_restore_num);
--
You received this message because you are subscribed to the Google Groups "IBAMR Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibamr-users+unsubscribe@googlegroups.com.
--
On Oct 21, 2018, at 9:51 AM, Yan <yansha...@gmail.com> wrote:Dear Prof. Griffith,The same error came to me when I was running a case based on an IBFE example.[0] ../src/utils/xdr_cxx.C, line 177, compiled Apr 28 2018 at 19:55:12
*********************************************************************READING THE FILE "/libmesh_data_part_0.000000.xdr" FAILED.
It is possible this file contains infinite element information,but the version string does not contain " with infinite elements"Let's try this again, but looking for infinite element information...*********************************************************************
*********************************************************************Well, at least we tried!Good Luck!!*********************************************************************
[0] ../src/utils/xdr_cxx.C, line 177, compiled Apr 28 2018 at 19:55:12.A Solution works with me:First, modify the IBFEMethod initiation part:
Pointer<IBFEMethod> ib_method_ops =new IBFEMethod("IBFEMethod",app_initializer->getComponentDatabase("IBFEMethod"),&mesh,app_initializer->getComponentDatabase("GriddingAlgorithm")->getInteger("max_levels"),
Then tell it to write IBFEMethod filedump_restart_data,// bool register_for_restartrestart_dump_dirname,//const std::string& restart_read_dirnamerestart_dump_interval);//unsigned int restart_restore_numberif (dump_restart_data && (iteration_num % restart_dump_interval == 0 || last_step))
{pout << "\nWriting restart files...\n\n";RestartManager::getManager()->writeRestartFile(restart_dump_dirname, iteration_num);
ib_method_ops->writeFEDataToRestartFile(restart_dump_dirname, iteration_num);//write restart file for IBFEMethod}run the program with absolute path of the restart_file, eg1 is the time_interval./main3D input3d $PWD/restart_IB3d 1
./main3D input3d restart_IB3d 1