llnl / llnl/libROM

scalapack error

Open
#221 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
236
Forks
47
PR merge metrics
No merged PRs in 30d

Description

I'm trying to install following the instruction [here](https://github.com/LLNL/libROM/issues/173#issuecomment-1378388991). I am getting the following message

```
CMake Error at /home/h206100a/cmake-3.26.4-linux-x86_64/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find ScaLAPACK (missing: ScaLAPACK_LIBRARY)
Call Stack (most recent call first):
/home/h206100a/cmake-3.26.4-linux-x86_64/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindScaLAPACK.cmake:38 (find_package_handle_standard_args)
lib/CMakeLists.txt:99 (find_package)
```

I have installed scalapack-mpich.x86_64 scalapack-mpich-devel.x86_64 scalapack-mpich-static.x86_64 using yum.

Is there something like -DScalapack that I can use?

Any ideas?

Also

```
./scripts/compile.sh
```

does not seem to work. It says

```
~/libROM/build ~/libROM/scripts
./compile.sh: line 134: cmake: command not found
make: *** No targets specified and no makefile found. Stop.
~/libROM/scripts
```

Thanks,

-Nachiket

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with cmake/modules/FindScaLAPACK.cmake and the find_package call at lib/CMakeLists.txt:99 to understand the missing library check. Then inspect scripts/compile.sh around line 134 and run it in the reported environment. Done means configuration locates ScaLAPACK and the compile script can invoke CMake without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.