Skip to content

Conversation

@sassy-crick
Copy link
Collaborator

(created using eb --new-pr)

@github-actions
Copy link

github-actions bot commented Jan 13, 2025

Updated software Blender-4.3.2-GCCcore-13.3.0-linux-x86_64-CUDA-12.6.0.eb

Diff against Blender-4.0.1-linux-x86_64-CUDA-12.1.1.eb

easybuild/easyconfigs/b/Blender/Blender-4.0.1-linux-x86_64-CUDA-12.1.1.eb

diff --git a/easybuild/easyconfigs/b/Blender/Blender-4.0.1-linux-x86_64-CUDA-12.1.1.eb b/easybuild/easyconfigs/b/Blender/Blender-4.3.2-GCCcore-13.3.0-linux-x86_64-CUDA-12.6.0.eb
index 670a55cba6..8389059fc9 100644
--- a/easybuild/easyconfigs/b/Blender/Blender-4.0.1-linux-x86_64-CUDA-12.1.1.eb
+++ b/easybuild/easyconfigs/b/Blender/Blender-4.3.2-GCCcore-13.3.0-linux-x86_64-CUDA-12.6.0.eb
@@ -1,7 +1,12 @@
+# Updated to 4.3.2
+# Missing X11 added, library paths expanded to include Blender's
+# own MEASA libraries
+# Author: J. Sassmannshausen (Imperial College London/UK)
+
 easyblock = 'PackedBinary'
 
 name = 'Blender'
-version = '4.0.1'
+version = '4.3.2'
 versionsuffix = '-linux-x86_64-CUDA-%(cudaver)s'
 
 homepage = 'https://www.blender.org/'
@@ -9,14 +14,15 @@ description = """Blender is the free and open source 3D creation suite. It suppo
  the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering,
  compositing and motion tracking, even video editing and game creation."""
 
-toolchain = SYSTEM
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ['https://ftp.nluug.nl/pub/graphics/blender/release/Blender%(version_major_minor)s/']
 sources = ['blender-%(version)s-linux-x64.tar.xz']
-checksums = ['1b22016388997b373970819e0d0c352a1f769c46df919db95c037985af073882']
+checksums = ['4da1c956673c0485e63054e563ee69198cc8f80d8157dd7592dffc8a6a5592e6']
 
 dependencies = [
-    ('CUDA', '12.1.1')
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('libdrm', '2.4.122'),
 ]
 
 sanity_check_paths = {
@@ -26,4 +32,9 @@ sanity_check_paths = {
 
 sanity_check_commands = ["blender --help"]
 
+modextrapaths = {
+    'LD_LIBRARY_PATH': 'lib/mesa',
+    'LIBRARY_PATH': 'lib/mesa',
+}
+
 moduleclass = 'vis'
Diff against Blender-3.6.5-linux-x86_64-CUDA-12.1.1.eb

easybuild/easyconfigs/b/Blender/Blender-3.6.5-linux-x86_64-CUDA-12.1.1.eb

diff --git a/easybuild/easyconfigs/b/Blender/Blender-3.6.5-linux-x86_64-CUDA-12.1.1.eb b/easybuild/easyconfigs/b/Blender/Blender-4.3.2-GCCcore-13.3.0-linux-x86_64-CUDA-12.6.0.eb
index fadb75dfc5..8389059fc9 100644
--- a/easybuild/easyconfigs/b/Blender/Blender-3.6.5-linux-x86_64-CUDA-12.1.1.eb
+++ b/easybuild/easyconfigs/b/Blender/Blender-4.3.2-GCCcore-13.3.0-linux-x86_64-CUDA-12.6.0.eb
@@ -1,7 +1,12 @@
+# Updated to 4.3.2
+# Missing X11 added, library paths expanded to include Blender's
+# own MEASA libraries
+# Author: J. Sassmannshausen (Imperial College London/UK)
+
 easyblock = 'PackedBinary'
 
 name = 'Blender'
-version = '3.6.5'
+version = '4.3.2'
 versionsuffix = '-linux-x86_64-CUDA-%(cudaver)s'
 
 homepage = 'https://www.blender.org/'
@@ -9,14 +14,15 @@ description = """Blender is the free and open source 3D creation suite. It suppo
  the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering,
  compositing and motion tracking, even video editing and game creation."""
 
-toolchain = SYSTEM
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ['https://ftp.nluug.nl/pub/graphics/blender/release/Blender%(version_major_minor)s/']
 sources = ['blender-%(version)s-linux-x64.tar.xz']
-checksums = ['05b2e56249a92b856c8b7b4d77c65e245702aaa81d9b4f34734ec09bbcedf42b']
+checksums = ['4da1c956673c0485e63054e563ee69198cc8f80d8157dd7592dffc8a6a5592e6']
 
 dependencies = [
-    ('CUDA', '12.1.1')
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('libdrm', '2.4.122'),
 ]
 
 sanity_check_paths = {
@@ -26,4 +32,9 @@ sanity_check_paths = {
 
 sanity_check_commands = ["blender --help"]
 
+modextrapaths = {
+    'LD_LIBRARY_PATH': 'lib/mesa',
+    'LIBRARY_PATH': 'lib/mesa',
+}
+
 moduleclass = 'vis'
Diff against Blender-3.5.0-linux-x86_64-CUDA-11.7.0.eb

easybuild/easyconfigs/b/Blender/Blender-3.5.0-linux-x86_64-CUDA-11.7.0.eb

diff --git a/easybuild/easyconfigs/b/Blender/Blender-3.5.0-linux-x86_64-CUDA-11.7.0.eb b/easybuild/easyconfigs/b/Blender/Blender-4.3.2-GCCcore-13.3.0-linux-x86_64-CUDA-12.6.0.eb
index b63f52585f..8389059fc9 100644
--- a/easybuild/easyconfigs/b/Blender/Blender-3.5.0-linux-x86_64-CUDA-11.7.0.eb
+++ b/easybuild/easyconfigs/b/Blender/Blender-4.3.2-GCCcore-13.3.0-linux-x86_64-CUDA-12.6.0.eb
@@ -1,7 +1,12 @@
+# Updated to 4.3.2
+# Missing X11 added, library paths expanded to include Blender's
+# own MEASA libraries
+# Author: J. Sassmannshausen (Imperial College London/UK)
+
 easyblock = 'PackedBinary'
 
 name = 'Blender'
-version = '3.5.0'
+version = '4.3.2'
 versionsuffix = '-linux-x86_64-CUDA-%(cudaver)s'
 
 homepage = 'https://www.blender.org/'
@@ -9,14 +14,15 @@ description = """Blender is the free and open source 3D creation suite. It suppo
  the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering,
  compositing and motion tracking, even video editing and game creation."""
 
-toolchain = SYSTEM
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ['https://ftp.nluug.nl/pub/graphics/blender/release/Blender%(version_major_minor)s/']
 sources = ['blender-%(version)s-linux-x64.tar.xz']
-checksums = ['a74d52822d5753a1ffb617ac764bbacc12a4a6dec4c2b91e90cc2935a40fff68']
+checksums = ['4da1c956673c0485e63054e563ee69198cc8f80d8157dd7592dffc8a6a5592e6']
 
 dependencies = [
-    ('CUDA', '11.7.0')
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('libdrm', '2.4.122'),
 ]
 
 sanity_check_paths = {
@@ -26,4 +32,9 @@ sanity_check_paths = {
 
 sanity_check_commands = ["blender --help"]
 
+modextrapaths = {
+    'LD_LIBRARY_PATH': 'lib/mesa',
+    'LIBRARY_PATH': 'lib/mesa',
+}
+
 moduleclass = 'vis'

@sassy-crick
Copy link
Collaborator Author

@boegelbot please test @ generoso

@boegelbot
Copy link
Collaborator

@sassy-crick: Request for testing this PR well received on login1

PR test command 'EB_PR=22147 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs /opt/software/slurm/bin/sbatch --job-name test_PR_22147 --ntasks=4 ~/boegelbot/eb_from_pr_upload_generoso.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 14943

Test results coming soon (I hope)...

Details

- notification for comment with ID 2588047014 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
cns1 - Linux Rocky Linux 8.9, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/boegelbot/6ae2e39ab633803a39d3f639077a2f64 for a full test report.

@sassy-crick sassy-crick changed the title {vis}[system/system] Blender v4.3.2 w/ linux x86_64 CUDA 12.6.0 {vis}[GCCcore/13.3.0] Blender v4.3.2 w/ linux x86_64 CUDA 12.6.0 Jan 27, 2025
@sassy-crick
Copy link
Collaborator Author

Whilst installing the orginal SYSTEM version of Blender I noticed the build failed in our sparse container. Some digging revealed Blender uses X11 and some MESA libraries. The former seem to come from the OS, the latter were included in Blender. I thus added X11 using the same toolchain where normally CUDA/12.6.0 is being used. I also expanded the relavant library paths.

@sassy-crick
Copy link
Collaborator Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Collaborator

@sassy-crick: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=22147 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_22147 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 5631

Test results coming soon (I hope)...

Details

- notification for comment with ID 2621320532 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
FAILED
Build succeeded for 0 out of 1 (1 easyconfigs in total)
jsczen3c2.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/4aeb4b3ff4ad2c44a6987a77b9b98e95 for a full test report.

X11 swapped to libdrm to resolve missing lidrm.so error message
@sassy-crick
Copy link
Collaborator Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Collaborator

@sassy-crick: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=22147 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_22147 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 5658

Test results coming soon (I hope)...

Details

- notification for comment with ID 2631026544 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/51031baed1f91822f4c9db5e665875f2 for a full test report.

@sassy-crick
Copy link
Collaborator Author

Test report for EasyBuild-5 can be found here

@akesandgren akesandgren self-assigned this Jun 16, 2025
@akesandgren
Copy link
Contributor

Test report by @akesandgren
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
b-cn1613.hpc2n.umu.se - Linux Ubuntu 22.04, x86_64, AMD EPYC 7313 16-Core Processor, Python 3.10.12
See https://gist.github.com/akesandgren/267f73b5a29ff4ffc3219bccbaca102b for a full test report.

Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

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

LGTM

@akesandgren akesandgren added this to the next release (5.1.1?) milestone Jun 16, 2025
@akesandgren
Copy link
Contributor

Going in, thanks @sassy-crick!

@akesandgren akesandgren merged commit b9e0fbb into easybuilders:develop Jun 16, 2025
8 checks passed
@sassy-crick sassy-crick deleted the 20250113172117_new_pr_Blender432 branch June 23, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants