TAGGED: batch-hpc, hpc-cluster
-
-
October 23, 2024 at 12:31 amjtowns03Subscriber
I'm trying to run LS-PrePost 4.12 in batch mode with the
-nographics
option on Stanford's Sherlock HPC to process d3plot data (~2TB) without downloading it locally. However, despite the-nographics
flag, I get errors due to numerous missing graphical libraries (e.g.,ÂliblibApipWrapper.so, liblsreader_c.so.0.1.77
) that are not available on the HPC. Has anyone successfully run LS-PrePost on an HPC in this mode? Are there alternative methods to extract d3plot data without the GUI or workarounds for these dependencies?Example of the error:
/home/groups/camarilo/LS-PrePost_4.12/lsprepost: error while loading shared libraries: liblibApipWrapper.so: cannot open shared object file: No such file or directoryÂ
-
October 23, 2024 at 3:03 pmRaman BabuAnsys Employee
Hello,
Does the linux box have a graphics card?
If No, we need to send display to Xvfb
If it is not installed, you need to install it and can create a X virtual framebuffer.
Please see the below a shell script to create X virtual framebuffer.#!/bin/sh
# Usage lsprepost_xvfb.sh arguments
# the paramter arguments are sent across to prepostÂLSPP_BIN_DIR=/data/cae/grp048/nbak/cae008/ref14/lzqq41/LSDYNA-ONESTEP/Linux/LSPP/lsprepost3.2_opensuse102/
display_id=$$
Xvfb="/usr/X11R6/bin/Xvfb"
LSPREPOST="${LSPP_BIN_DIR}/lsprepost"
export LD_LIBRARY_PATH=$LSPP_BIN_DIR/lib:$LD_LIBRARY_PATH
if [ "x${Xvfb}" = "x" ] ; then
  echo "Running LS-Prepost using no graphics mode"
  ${LSPREPOST} -nographics $@
else
  echo "Running LSPREPOST using VirtualFrameBuffer (VFB)"
# Â Â ${Xvfb} :${display_id} -nolisten tcp -fbdir -screen 0 1920x1080x64 &
  ${Xvfb} :${display_id} -screen 0 800x600x24&
  pid=$!
  DISPLAY=":${display_id}"; export DISPLAY
  ${LSPREPOST} $@
  kill -9 ${pid}Â
  rm -rf /tmp/.X${pid}"-lock"
fi
echo "Done.."exit
-
October 23, 2024 at 10:21 pmigandikoAnsys Employee
Â
I suggest trying the below batch command instead of using -nographics option.
/path/lsprepost runc=cfile
Â
-
- You must be logged in to reply to this topic.
- LS-DYNA Installation Issues with Student Workbench 2024 R2
- LS-Dyna CESE SMP d vs MPP d solver
- Cross-coupled stiffness elements in LS-DYNA
- CESE solver – Ignition mechanism
- Mathematical model generation stuck at 10%
- About combine different unconnected body into one part
- Tiebreak using Segment set for contact b/w 20 noded Hexahedral elements
- shape memory alloy material in LS-DYNA
- CESE combustion model
- Initial Stress Shell Application and HistVarCosine in LS-DYNA
-
1301
-
591
-
544
-
524
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.