illinoisrocstar / rocstar Goto Github PK
View Code? Open in Web Editor NEWRocstar MultiPhysics simulation suite (RocstarMP)
License: Other
Rocstar MultiPhysics simulation suite (RocstarMP)
License: Other
I try to run ACM rocflu example, but crashed after a while with information something like "mesh too distorted".
is there any problems with the example?
I'm sorry but I still got an error when I install the newest version of rocstar. Impact 2.1.1 works totally fine but when I install Rocstar and run make -j$(nproc) I still got an error.
The evironment variables are:
$IMPACT_DIR=$IMPACT_INSTALL_PATH
$METIS_LIB=../libmetis.a
Here are logs:
root@ubuntu:/opt/ROCSTAR_PROJECT/build# IMPACT_DIR=$IMPACT_DIR cmake -DCMAKE_INSTALL_PREFIX=$ROCSTAR_INSTALL_PATH -DMETIS_LIB=$METIS_LIB ..
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- The Fortran compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Setting build type to 'Release' as none was specified.
-- Found MPI_C: /usr/lib/x86_64-linux-gnu/libmpich.so (found version "3.1")
-- Found MPI_CXX: /usr/lib/x86_64-linux-gnu/libmpichcxx.so (found version "3.1")
-- Found MPI_Fortran: /usr/lib/x86_64-linux-gnu/libmpichfort.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- A library with BLAS API found.
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen missing components: dot
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/ROCSTAR_PROJECT/build
root@ubuntu: /opt/ROCSTAR_PROJECT/build root@ubuntu:/opt/ROCSTAR_PROJECT/build# make -j$(nproc)
Scanning dependencies of target Rocman
[ 0%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/rocstar_driver.C.o
[ 1%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/RocstarCoupling.C.o
[ 1%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/builtin_couplings.C.o
[ 1%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/derived_couplings.C.o
[ 1%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/RocstarAction.C.o
[ 1%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/basic_actions.C.o
[ 1%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/SurfDiver.C.o
[ 2%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/transfer_actions.C.o
[ 2%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/RocstarAgent.C.o
[ 2%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/SolidAgent.C.o
[ 2%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/BurnAgent.C.o
[ 2%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/FluidAgent.C.o
[ 2%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/Control_parameters.C.o
[ 3%] Building CXX object Rocman/CMakeFiles/Rocman.dir/src/rocman.C.o
[ 3%] Linking CXX shared library ../lib/libRocman.so
[ 3%] Built target Rocman
Scanning dependencies of target rocstar
[ 3%] Building CXX object CMakeFiles/rocstar.dir/src/rocstar.C.o
[ 3%] Linking CXX executable bin/rocstar
[ 3%] Built target rocstar
Scanning dependencies of target mesquite_95
[ 3%] Building CXX object Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/srcLinks/ASMQualityMetric.cpp.o
/opt/ROCSTAR_PROJECT/Rocmop/External/mesquite_0_9_5/srcLinks/ASMQualityMetric.cpp:1:1: error: expected unqualified-id before '.' token
../src/QualityMetric/Smoothness/ASMQualityMetric.cpp
^
Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/build.make:62: recipe for target 'Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/srcLinks/ASMQualityMetric.cpp.o' failed
make[2]: *** [Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/srcLinks/ASMQualityMetric.cpp.o] Error 1
CMakeFiles/Makefile2:466: recipe for target 'Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/all' failed
make[1]: *** [Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
And I'm looking forward for reply, thank you.
I'm trying to install Rocstar on CentOS 7 and I get the error that mod.mpi was not found. In ccmake the module directory is correctly pointing to where the file is in MPI_Fortran_MODULE_DIR=/usr/bin/openmpi4/lib
, but it fails when running make -j$(nproc)
.
IMPACT failed 5 tests, all related to parallel processing, so it seems to be something with openmpi not working properly even if it finds the compilers.
when running make , the process would always stop at 19% , and error occured about:
/home/dodo/Rocstar/Rocmop/External/mesquite_0_9_5/srcLinks/ASMQualityMetric.cpp:1:1: error: expected unqualified-id before ‘.’ token
../src/QualityMetric/Smoothness/ASMQualityMetric.cpp
^
make[2]: *** [Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/build.make:63: Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/srcLinks/ASMQualityMetric.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3525: Rocmop/External/mesquite_0_9_5/CMakeFiles/mesquite_95.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
How shoul I fixed it ?
Hello,
I don't know if it's right to open an issue for this question, I just would like to know if is there already a plan for enabling Rocstar on heterogeneous devices, such as GPU, or a development version that already started to explore such porting.
I succesfully compiled both IMPACT and the metis libraries, and cmake works without issues. However, when running make -j$(nproc)
i get errors on rflumap, rfluinit and rflupart. I'm on Ubuntu 18.04 with gcc 7.5.0. Logs are below. Let me know if there's more information you need. Thanks for the support.
cmake:
-- Setting build type to 'Release' as none was specified. -- A library with BLAS API found. -- A library with LAPACK API found. -- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot -- Configuring done -- Generating done -- Build files have been written to: /home/augusto/Downloads/rocstar-master
make log is in the file:
make_log.txt
I tried to install this Rocstar version, Since there's no com.h file in $IMPACT_INSTALL_PATH/include, I changed settings of cmake prefix, change
-DIMPACT_HDR=$IMPACT_INSTALL_PATH/include/com.h
to
-DIMPACT_HDR=$IMPACT_INSTALL_PATH/include/impact/com.h
and cmake process works successfully. but make -j process keeps outputting errors, and make terminal no response. I've sent the ccmake screenshot, "make" log and some more detail to [email protected].
Dose anyone can tell me that where I can find the components of rocpack and rocfire in the Rocstar suite? I'm new to rocstar and I need these components to continue my work.
Looking forward to your reply. Thank you .
I try to run rocprep but this error occurred:
`Fri Sep 4 19:58:51 2020: Checking NDA files
Ending phase: Check NDA Files for module RocfloProcessor.
Ending phase: Check NDA Files for module RocfracProcessor.
Fri Sep 4 19:58:51 2020: Extracting NDA files to rocstar dataset
Ending phase: Extract NDA Files for module RocfloProcessor.
Ending phase: Extract NDA Files for module RocfracProcessor.
Fri Sep 4 19:58:52 2020: Running preprocessor codes to make rocstar dataset
makeflo ep-PLOT3D.grd 8 ep.top ep.grda > /home/tanghulu/roccase//makeflo.log 2>&1
--->ERROR in RocfloProcessor: Preprocessor Code Run failure:
makeflo ep-PLOT3D.grd 8 ep.top ep.grda > /home/tanghulu/roccase//makeflo.log 2>&1
Ending phase: Run Preprocessors for module RocfloProcessor.
--->ERROR in RocfracProcessor: Preprocessor Code Run failure:
rfracprep -np 8 > /home/tanghulu/roccase//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.
***************************************************************************`
For the ACM example, I created a fluid_in_00.000000.txt file as shown below from the Rocin UG. Rocstar per the tutorial also requires an HDF file as input. Is that correct? If yes, how do I create or obtain the HDF4 file for ACM?
@proc: 0
@Files: fluid*_00.00_0000.hdf
@panes: 1 5 9 12 17
@Material: fluid
@proc: 1
@Files: fluid*_00.00_0000.hdf
@panes: 2 6 10 13 18
@Material: fluid
@proc: 2
@Files: fluid*_00.00_0000.hdf
@panes: 3 7 11 14 19
@Material: fluid
@proc: 3
@Files: fluid*_00.00_0000.hdf
@panes: 4 8 12 16 20
@Material: fluid
Dear author, hello,
I am trying to compile and install rocstar, but it fails when running make -j$(nproc),the build will stop when it reaches 5%.
fatal error: RocBlas-SIM.h: No such file or directory
35 | #include "RocBlas-SIM.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Rocman/CMakeFiles/Rocman.dir/build.make:63: Rocman/CMakeFiles/Rocman.dir/src/rocstar_driver.C.o] Error 1
make[2]: *** Waiting for unfinished jobs....
According to the User's Guide of the Rocstar, the Parallel profiling module is Rocprof, but I can not find the codes about this module. Where is the module that controls the parallel configuration in Rocstar?
Hello,
I try to run a SRM simulation, but with the regession of the burning surface, the mesh cell volume became small. I try to use Rocrem moduel to remesh but can't find path to remeshing tools.
When I try to use periodic boundary, the following error occurred
Rocflu:
Rocflu: ERROR (proc. 00000) - Boundary condition inconsistent with patch geometry.
Rocflu: Function: RFLU_CheckPatchBcConsistency, file: RFLU_ModPatchUtils.F90, line: 284
Rocflu: Called from: RFLU_InitFlowSolver, file: RFLU_InitFlowSolver.F90
Rocflu:
Then I checked the source code,and try to output the two angles in RFLU_ModPatchUtils.F90,
DO iPatch = 1,pGrid%nPatches
pPatch => pRegion%patches(iPatch)
SELECT CASE ( pPatch%bcType )
CASE ( BC_PERIODIC )
iPatchRelated = pPatch%iPatchRelated
pPatchRelated => pRegion%patches(iPatchRelated)
angleSum = pPatch%angleRelated+pPatchRelated%angleRelated
!FOR debug
write(*,*)'anglesum=',anglesum
write(*,*)'angle1=',pPatch%angleRelated,'angle2=',pPatchRelated%angleRelated
IF ( FloatEqual(angleSum,0.0_RFREAL,eqTol) .EQV. .FALSE. ) THEN
CALL ErrorStop(global,ERR_PATCH_BC_INCONSISTENT,__LINE__)
END IF ! FloatEqual
IF ( pPatch%axisRelated /= pPatchRelated%axisRelated ) THEN
CALL ErrorStop(global,ERR_PATCH_BC_INCONSISTENT,__LINE__)
END IF ! pPatch%axisRelated
IF ( pPatch%axisRelated /= 1 .AND. &
pPatch%axisRelated /= 2 .AND. &
pPatch%axisRelated /= 3 ) THEN
CALL ErrorStop(global,ERR_PATCH_BC_INCONSISTENT,__LINE__)
END IF ! pPatch%axisRelated
CASE ( BC_SYMMETRY )
IF ( pPatch%flatFlag .EQV. .FALSE. ) THEN
CALL ErrorStop(global,ERR_PATCH_BC_INCONSISTENT,__LINE__)
END IF ! pPatch%flatFlag
END SELECT ! pPatch%bcType
END DO ! iPatch
it seems that the program didn't get correct value of angle2
angle1= 1.2566370614359172 angle2= 1.1959568280486965E-310
But in rflupart.log the value is correct
Rocflu: Scaling and rotating vector done.
anglesum= 0.0000000000000000
angle1= 1.2566370614359172 angle2= -1.2566370614359172
anglesum= 0.0000000000000000
angle1= -1.2566370614359172 angle2= 1.2566370614359172
Rocflu: Building periodicity transforms...
Rocflu: Building periodicity transforms done.
Rocflu: Writing periodicity transforms...
Rocflu: Writing periodicity transforms done.
I don't know how to solve this problem, really hope you can help me.
Thank you.
Hello,
I have been unable to run ACM using a windows static port, Cygwin compile or Cygwin -DSTATIC_LINK compile.
I think the Cygwin compile version should work. When I finish the compile, the libraries begin with "cyg" instead of "lib" and end in "-(version #).dll" instead of ".so." When I run rocstar, it bombs immediately with open library errors. So, I copied the IMPACT dlls to the local directory. The it runs with errors about the dlls that are in the IMPACT
bin directory not being in the IMPACT lib directory. So I copied the IMPACT dlls from the bin directory to the lib directory. Then it complains the Rocstar dlls are not in the IMPACT lib directory. So I copied the Rocstar dlls to the IMPACT lib directory.
All these directories are included in my LD_LIBRARY_PATH. It is not clear why I should have to copy the files, but the rocstar seems to find the dlls.
I have created STATIC LINK versions. They also have problems about dlls. I expected it to be a full static link. And, they do not get farther than the dynamic library version.
Also, the ACM does not include Rocin files, so I created them based on the manual.
I have attached the output from my 4 dll runs.
What am I doing wrong?
Regards,
Rudy
RunOut.txt
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 ([email protected])
Court McLay ([email protected])
***************************************************************************
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 [email protected], let me know if you need any other files, waiting for reply.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.