IllinoisRocstar / Rocstar

Rocstar MultiPhysics simulation suite (RocstarMP)
Other
22 stars 24 forks source link

Run Error: Explanation:Specified parameter file not found. #20

Closed XiSheng1998 closed 2 years ago

XiSheng1998 commented 2 years ago

I followed the install instructions and successfully built Rocstar and IMPACT, however when I run ./rocstar in $ROCSTAR_INSTALL_PATH/bin path ,it turns out:

********************************************************************************
*                                                           /\                 *
*                                                          //\\                *
*  RRRR   OOO   CCCC  SSSS TTTTT  AAA   RRRR              //  \\               *
*  R   R O   O C     S       T   A   A  R   R            //    \\              *
*  RRRR  O   O C      SSS    T   AAAAA  RRRR            //      \\             *
*  R   R O   O C         S   T   A   A  R   R          //        \\            *
*  R   R  OOO   CCCC SSSS    T   A   A  R   R          ============            *
*                                                   _  ============  _         *
*                                                  //\ \\        // /\\        *
* The ROCSTAR multiphysics application is         // \\ \\      // // \\       *
* developed by Illinois Rocstar LLC. You         //   \\ \\    // //   \\      *
* should have received a copy of the            //     \\ \\  // //     \\     *
* Illinois/NCSA Open Source License with       //       \\ \\// //       \\    *
* ROCSTAR. If not, please find it at          //         \\ \/ //         \\   *
* http://opensource.org/licenses/NCSA.       ++++++++++++++++++++++++++++++++  *
*                                                                              *
*        Copyright (C) 2015 Illinois Rocstar LLC. All rights reserved.         *
*                                                                              *
********************************************************************************

COM error: assertion violation!
Expr: param_file
File: /home/opt/IMPACT/SimIO/In/src/read_parameter_file.C
Line: 149
Explanation:Specified parameter file not found.

And when I run $ROCSTAR_INSTALL_PATH/bin/rocprep -A -o 6 8 -f 1 2 -d $ROCSTAR_EXAMPLES/ShockPanel -n 10 -t ./ShockPanel_10p in $ROCSTAR_EXAMPLES/ShockPanel path, output is:

***************************************************************************
                  Rocprep Tool Version 1.0
                  For Rocstar Version 3.0 File formats

                  Center for Simulation of Advanced Rockets
                  University of Illinois, Urbana, IL  61801
                  www.csar.uiuc.edu

                  Code Authors:
                  Mark Brandyberry (mdbrandy@uiuc.edu)
                  Court McLay (cmclay@uiuc.edu)
***************************************************************************

Tue Mar 15 22:53:37 2022: Rocprep Initialized

ALL               = 1
BINDIR            = 
IGNOREFILE        = 0
NUMPROCS          = 10
ROCBURN           = 0
ROCBURNAPN        = 0
ROCBURNPY         = 0
ROCBURNZN         = 0
ROCFLO            = 1
ROCFLODATA        = Data6
ROCFLOGRID        = Grid8
ROCFLOROCFRAC     = 1
ROCFLOROCSOLID    = 0
ROCFLU            = 0
ROCFLUROCFRAC     = 0
ROCFLUROCSOLID    = 0
ROCFRAC           = 1
ROCFRACDATA       = Data1
ROCFRACGRID       = Grid2
ROCMOP            = 0
ROCPREPVERS       = 1.0
ROCSOLID          = 0
ROCSTARVERS       = 3.0
SOURCEDIR         = /home/opt/Rocstar/Examples/ShockPanel/
TARGETDIR         = /home/opt/Rocstar/Examples/ShockPanel/ShockPanel_10p/

Tue Mar 15 22:53:37 2022: Checking NDA files

Ending phase: Check NDA Files for module RocfloProcessor. 
Ending phase: Check NDA Files for module RocfracProcessor. 
***************************************************************************

Tue Mar 15 22:53:37 2022: Extracting NDA files to rocstar dataset

Ending phase: Extract NDA Files for module RocfloProcessor. 
Ending phase: Extract NDA Files for module RocfracProcessor. 
***************************************************************************

Tue Mar 15 22:53:37 2022: Running preprocessor codes to make rocstar dataset

makeflo  shockpanel-PLOT3D.grd 10 shockpanel.top shockpanel.grda > /home/opt/Rocstar/Examples/ShockPanel/ShockPanel_10p//makeflo.log 2>&1

--->ERROR in RocfloProcessor: Preprocessor Code Run failure:
makeflo  shockpanel-PLOT3D.grd 10 shockpanel.top shockpanel.grda > /home/opt/Rocstar/Examples/ShockPanel/ShockPanel_10p//makeflo.log 2>&1

Ending phase: Run Preprocessors for module RocfloProcessor. 

--->ERROR in RocfracProcessor: Preprocessor Code Run failure:
rfracprep -np 10  > /home/opt/Rocstar/Examples/ShockPanel/ShockPanel_10p//rfracprep.log 2>&1

Ending phase: Run Preprocessors for module RocfracProcessor. 

--->ERROR in RocfaceProcessor: Preprocessor Code Run failure:
surfdiver Rocflo/Rocin/ifluid_in_00.000000.txt Rocfrac/Rocin/isolid_in_00.000000.txt Rocman/RocfloRocfrac/ > surf_flofrac.log 2>&1

Ending phase: Run Preprocessors for module RocfaceProcessor. 
***************************************************************************

***************************************************************************

Run terminated with error: Errors occurred during preprocessing.

***************************************************************************

my evironment variable is:

export ROCSTAR_INSTALL_PATH=/home/Rocstar
export LD_LIBRARY_PATH=$ROCSTAR_INSTALL_PATH/lib
export PATH=$PATH:$ROCSTAR_INSTALL_PATH/lib:$ROCSTAR_INSTALL_PATH/bin
export ROCSTAR_EXAMPLES=$ROCSTAR_PROJECT_PATH/Examples
export ROCSTAR_PROJECT_PATH=/home/opt/Rocstar
export IMPACT_INSTALL_PATH=/home/IMPACT
export IMPACT_PROJECT_PATH=/home/opt/IMPACT
export IMPACT_DIR=/home/IMPACT
export METIS_LIB=/usr/local/bin/libmetis.a

I‘ve sent the logs to msafdari@illinoisrocstar.com, let me know if you need any other files, waiting for reply.

jingchangshi commented 2 years ago

This error is due to the dependence on makeflo. In the latest version, makeflo is removed but called by rocprep. makeflo is in the legecy version. So maybe try to compile the legacy version and let the modern version call that makeflo? I came across errors when compiling the legacy version. The IRAD in the legacy version seems to be not compatible with a modern compiler. Not sure how to fix this error to compile the legacy version.