# The problem of compiling Optimized mode on supercomputers

**URL:** <https://community.geodynamics.org/t/the-problem-of-compiling-optimized-mode-on-supercomputers/3779>\
**Category:** ASPECT\
**Created:** [December 5, 2024, 7:11am UTC](https://community.geodynamics.org/t/the-problem-of-compiling-optimized-mode-on-supercomputers/3779 "2024-12-05T07:11:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddarkerlu](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/ddarkerlu/32/1866_2.png) [@ddarkerlu](https://community.geodynamics.org/u/ddarkerlu)\
**Post date:** [December 5, 2024, 7:11am UTC](https://community.geodynamics.org/t/the-problem-of-compiling-optimized-mode-on-supercomputers/3779/1 "2024-12-05T07:11:53Z")

</div>

Dear all,  
I recently tried to install Optimized mode for ASPECT on a supercomputer, but encountered some difficulty. I can’t find a place to set the path to lapack, this file seems to be in openblas. Below is a screenshot of the error.  
Sincerely,  
Lu

 ![bfdd17a5d8f007726ed756b65e35c1c](https://canada1.discourse-cdn.com/flex036/uploads/geodynamics/original/2X/b/b3067c33151a68e9206e592c6486dc6858693a9a.png)

---

<div class="post-metadata">

**Author:** ![jbnaliboff](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jbnaliboff](https://community.geodynamics.org/u/jbnaliboff)\
**Post date:** [December 5, 2024, 6:19pm UTC](https://community.geodynamics.org/t/the-problem-of-compiling-optimized-mode-on-supercomputers/3779/2 "2024-12-05T18:19:40Z")

</div>

@ddarkerlu

> I recently tried to install Optimized mode for ASPECT on a supercomputer, but encountered some difficulty.

Do you see the same issue when compiling only in debug mode? I think this issue is independent of what mode ASPECT compiled in.

` I can’t find a place to set the path to lapack, this file seems to be in openblas.`

Did you install openblas during the deal.II installation or are you using the version provided by the system? If you are using candi to install deal.II, note that [openblas is one of the available packages](https://github.com/dealii/candi/blob/master/candi.cfg#L66).

Cheers,  
John
