Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions docker/fluent/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
ARG baseImage=centos:7
FROM ${baseImage} as builder
COPY lnamd64.tgz /ansys_inc/
RUN tar -xzf /ansys_inc/lnamd64.tgz --strip-components=2 --directory /ansys_inc/ && rm -f /ansys_inc/lnamd64.tgz
FROM ${baseImage} as fluentbuilder
COPY fluent.tgz /ansys_inc/
RUN tar -xzf /ansys_inc/fluent.tgz --directory /ansys_inc/ && rm -f /ansys_inc/fluent.tgz

FROM ${baseImage} as ceibuilder
COPY cei.tgz /ansys_inc/
RUN tar -xzf /ansys_inc/cei.tgz --directory /ansys_inc/ && rm -f /ansys_inc/cei.tgz

FROM ${baseImage}
LABEL description="Ansys Fluent 2022 R2"
MAINTAINER Laurence Janoo "laurence.janoo@ansys.com"
RUN yum install -y \
tcsh.x86_64 \
libXrandr.x86_64 \
libXinerama.x86_64 \
libXcursor.x86_64 \
mesa-libGLU-9.0.0-4.el7.x86_64 \
libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 \
libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 && yum clean all
COPY --from=builder /ansys_inc /ansys_inc/
COPY --from=fluentbuilder /ansys_inc /ansys_inc/
COPY --from=ceibuilder /ansys_inc /ansys_inc/
ENTRYPOINT ["/ansys_inc/v222/fluent/bin/fluent"]
9 changes: 9 additions & 0 deletions docker/fluent/Dockerfile.meshing
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ARG baseImage=centos:7
FROM ${baseImage} as cadbuilder
COPY cad.tgz /ansys_inc/
RUN tar -xzf /ansys_inc/cad.tgz --directory /ansys_inc/ && rm -f /ansys_inc/cad.tgz

FROM ghcr.io/pyansys/pyfluent-solver:latest AS fluent
Copy link
Collaborator

@dnwillia-work dnwillia-work Apr 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, so is this taking the first image and incorporating here? If so, I think the ci config will need updating to pull this image.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Using the solver image to add to it the cad piece.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think I need to update this. The docker pull command will be installing ghcr.io/pyansys/pyfluent:latest which will be the fluent + nexus + cad ( full fluent )

docker should pull ghcr.io/pyansys/pyfluent-solver:latest which will be just fluent + nexus when installing the full fluent

Unless we want to have a Makefile for fluent-solver & fluent-solver + cad ( full fluent )

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, good and we can leave the makefile as it is.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a thought of creating docker images of the 3 tgz files ( cad, cei, fluent ) in github

Then have dockerfiles to create the images from the tgz images. Based on the 3 tgz files, we could create 3 images if we need to.

base fluent solver: fluent tgz image
base fluent solver + parametric: fluent + cei tgz images
base fluent solver + parametric + meshing: fluent + cei + cad tgz images

Wondering if there is any interest in this approach. I will not merge this PR if there is interest in this.

Copy link
Collaborator

@dnwillia-work dnwillia-work Apr 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be ok but splitting out CEI probably only makes sense if we also deactivate the dependent part of the API. So, we would need to do both bits of work. I think you could leave it aside for now.

WORKDIR /ansys_inc/
COPY --from=cadbuilder /ansys_inc /ansys_inc/
ENTRYPOINT ["/ansys_inc/v222/fluent/bin/fluent"]
8 changes: 8 additions & 0 deletions docker/fluent/cadList.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
vNNN/meshing
vNNN/commonfiles/CAD
vNNN/aisol
vNNN/commonfiles/MainWin
vNNN/Framework
vNNN/commonfiles/registry
vNNN/tp/stdc++
vNNN/tp/openssl
5 changes: 5 additions & 0 deletions docker/fluent/ceiList.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
vNNN/CEI/BUILDINFO.txt
vNNN/CEI/apex222
vNNN/CEI/bin
vNNN/CEI/ensight222lang
vNNN/CEI/nexus222
35 changes: 35 additions & 0 deletions docker/fluent/fluentList.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
vNNN/licensingclient/linx64/ansyscl
vNNN/licensingclient/linx64/ansysli_util
shared_files/licensing/language/en-us/ansysli_msgs.xml
vNNN/commonfiles/APIP/bin/linx64/apip-standalone-service
vNNN/commonfiles/etc/ApipRC.xml
vNNN/commonfiles/images/splash.png
vNNN/commonfiles/images/ANSYS_blk_lrg.png
vNNN/commonfiles/images/ANSYS_wht_lrg.png
vNNN/commonfiles/images/academic_large_black.png
vNNN/commonfiles/images/academic_large_white.png
vNNN/commonfiles/images/splash.bmp
vNNN/commonfiles/globalsettings/ANSYSProductImprovementProgram.txt
vNNN/commonfiles/help/en-us/fluent_gui_help/
vNNN/commonfiles/CPython/3_7/linx64/Release
vNNN/commonfiles/fluids
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libifcoremt.so.5
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libifcore.so.5
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libifport.so.5
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libimf.so
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libintlc.so.5
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libiomp5.so
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libiomp5.dbg
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libirc.so
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libirng.so
vNNN/tp/IntelCompiler/2019.3.199/linx64/lib/intel64/libsvml.so
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_core.so.1
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_def.so.1
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_intel_lp64.so.1
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_intel_thread.so.1
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_sequential.so.1
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_intel_ilp64.so.1
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_avx2.so.1
vNNN/tp/IntelMKL/2021.3.0/linx64/lib/intel64/libmkl_avx512.so.1
vNNN/tp/7zip
vNNN/fluent