# Problem when compiling SCALAPACK

**URL:** <https://community.freefem.org/t/problem-when-compiling-scalapack/587>\
**Category:** FreeFEM installation\
**Created:** [September 22, 2020, 8:45am UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587 "2020-09-22T08:45:14Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![nabil3achour](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@nabil3achour](https://community.freefem.org/u/nabil3achour)\
**Post date:** [September 22, 2020, 1:53pm UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/21 "2020-09-22T13:53:06Z")

</div>

It shows me the same message when I do

> make && make check

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [September 22, 2020, 1:56pm UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/22 "2020-09-22T13:56:26Z")

</div>

Please edit `config.param` and make sure that there is no `'--enable-download'` line.  
Also make sure there is a `'--disable-download'` line. And don’t forget to re-run `./reconfigure` then.

---

<div class="post-metadata">

**Author:** ![nabil3achour](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@nabil3achour](https://community.freefem.org/u/nabil3achour)\
**Post date:** [September 22, 2020, 3:44pm UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/23 "2020-09-22T15:44:20Z")

</div>

I think that it is ok now. I have FreeFem++ 4.7 in my computer.  
Thank for your help.

Otherwise, when I do `> make check` it displays this message :

```
PASS: 3d-Leman.edp

PASS: ArrayFE-3d.edp

PASS: beam-3d.edp

PASS: cone.edp

PASS: convect-3d.edp

PASS: cube-period.edp

PASS: cylinder-3d.edp

PASS: EqPoisson.edp

PASS: extract-boundary3d.edp

PASS: first.edp

PASS: intlevelset3d.edp

PASS: Lac.edp

PASS: Laplace3d.edp

PASS: LaplaceRT-3d.edp

PASS: meditddm.edp

PASS: NSI3d-carac.edp

PASS: NSI3d.edp

PASS: p.edp

PASS: periodic-3d.edp

PASS: Poisson.edp

PASS: pyramide.edp

PASS: sphere2.edp

PASS: sphere6.edp

PASS: Stokes.edp

PASS: TruncLac.edp

PASS: crack-3d.edp

PASS: schwarz-nm-3d.edp

PASS: cylinder.edp

FAIL: Period-Poisson-cube-ballon.edp

PASS: Poisson3d.edp

PASS: Poisson-cube-ballon.edp

PASS: refinesphere.edp

FAIL: sphereincube.edp

PASS: tetgencube.edp

PASS: tetgenholeregion.edp

**SKIP** : bottle.edp

**SKIP** : fallingspheres.edp

**SKIP** : Laplace-Adapt-3d.edp

============================================================================

Testsuite summary for FreeFEM 4.7

============================================================================

**# TOTAL: 38**

# PASS: 33

**# SKIP: 3**

# XFAIL: 0

# FAIL: 2

# XPASS: 0

# ERROR: 0

============================================================================

See examples/3d/test-suite.log

Please report to frederic.hecht@sorbonne-universite.fr

============================================================================

make[4]: *** [test-suite.log] Error 1

make[3]: *** [check-TESTS] Error 2

make[2]: *** [check-am] Error 2

make[1]: *** [check-recursive] Error 1

make: *** [check-recursive] Error 1
```

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [September 22, 2020, 3:53pm UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/24 "2020-09-22T15:53:57Z")

</div>

Sorry, I’ve fixed this, those tests should be skipped.  
Could you please try `make check` inside the `examples/eigen` and `examples/hpddm` folder, please?

---

<div class="post-metadata">

**Author:** ![nabil3achour](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@nabil3achour](https://community.freefem.org/u/nabil3achour)\
**Post date:** [September 22, 2020, 4:16pm UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/25 "2020-09-22T16:16:11Z")

</div>

For `examples/eigen` :

```
============================================================================

Testsuite summary for FreeFEM 4.7

============================================================================

**# TOTAL: 16**

# PASS: 16

# SKIP: 0

# XFAIL: 0

# FAIL: 0

# XPASS: 0

# ERROR: 0

============================================================================

```

And for ‘examples/hpddm’ :

> ============================================================================
> 
> Testsuite summary for FreeFEM 4.7
> 
> ============================================================================
> 
> **# TOTAL: 100**
> 
> # PASS: 92
> 
> **# SKIP: 6**
> 
> **# XFAIL: 2**
> 
> # FAIL: 0
> 
> # XPASS: 0
> 
> # ERROR: 0
> 
> ============================================================================

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [September 22, 2020, 4:17pm UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/26 "2020-09-22T16:17:06Z")

</div>

Looking good! And no failure in `examples/eigen`, so that will make @david.fabre happy 😄

---

<div class="post-metadata">

**Author:** ![david.fabre](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@david.fabre](https://community.freefem.org/u/david.fabre)\
**Post date:** [September 23, 2020, 6:55am UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/27 "2020-09-23T06:55:58Z")

</div>

Ginea pig report on my side:  
compilation goes to the end but then at execution I have this:

```
(base) fabred@autonome232:FreeFem-sources-PETSC314$ src/nw/FreeFem++
dyld: Library not loaded: @rpath/libhdf5.103.dylib
  Referenced from: /Users/fabred/FreeFem-sources-PETSC314/src/nw/FreeFem++
  Reason: image not found
Abort trap: 6

```

Indeed this dylib is present in my previous installation  
(FreeFem-sources/plugin/mpi/)  
but not in the one corresponding to your new branch.  
(FreeFem-sources-PESTSC314/plugin/mpi/)

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [September 23, 2020, 9:11am UTC](https://community.freefem.org/t/problem-when-compiling-scalapack/587/28 "2020-09-23T09:11:19Z")

</div>

You should have used `--without-hdf5` or whatever the flag I already gave you: we cannot clean your machine ourselves.

[Previous page](https://community.freefem.org/t/problem-when-compiling-scalapack/587.md?page=1)
