Quantcast

[Arpack-ng] installation

classic Classic list List threaded Threaded
9 messages Options
Lorenzo Zanon Lorenzo Zanon
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Arpack-ng] installation

Hello,

I'm trying to install arpack on the unix cluster of my university, but I
get the error below during "make install".

Thanks for helping,
Lorenzo

lz474069@cluster:~/Desktop/arpack-ng-3.1.5[521]$ make install
Making install in UTIL
make[1]: Entering directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/UTIL'
make[2]: Entering directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/UTIL'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/UTIL'
make[1]: Leaving directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/UTIL'
Making install in SRC
make[1]: Entering directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/SRC'
make[2]: Entering directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/SRC'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/SRC'
make[1]: Leaving directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5/SRC'
Making install in .
make[1]: Entering directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5'
make[2]: Entering directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5'
  /usr/local_rwth/bin/gmkdir -p '/usr/local/lib'
  /bin/sh ./libtool   --mode=install /usr/local_rwth/bin/ginstall -c  
libarpack.la '/usr/local/lib'
libtool: install: /usr/local_rwth/bin/ginstall -c
.libs/libarpack.so.2.0.0 /usr/local/lib/libarpack.so.2.0.0
/usr/local_rwth/bin/ginstall: cannot create regular file
`/usr/local/lib/libarpack.so.2.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5'
make: *** [install-recursive] Error 1


--
============================
Lorenzo Zanon, M.Sc.
Doctoral Candidate

Graduate School AICES
RWTH Aachen University
Schinkelstra├če 2
52062 Aachen
Deutschland

[hidden email]
+49 (0)241 80 99 147
============================

_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Marco Atzeri Marco Atzeri
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation



On 16/04/2014 13:30, Lorenzo Zanon wrote:
> Hello,
>
> I'm trying to install arpack on the unix cluster of my university, but I
> get the error below during "make install".
>
> Thanks for helping,
> Lorenzo

> make[2]: Entering directory
> `/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5'
>   /usr/local_rwth/bin/gmkdir -p '/usr/local/lib'
>   /bin/sh ./libtool   --mode=install /usr/local_rwth/bin/ginstall -c
> libarpack.la '/usr/local/lib'
> libtool: install: /usr/local_rwth/bin/ginstall -c
> .libs/libarpack.so.2.0.0 /usr/local/lib/libarpack.so.2.0.0
> /usr/local_rwth/bin/ginstall: cannot create regular file
> `/usr/local/lib/libarpack.so.2.0.0': Permission denied

the error message seems very clear to me.
likely you need to be root to install in
/usr/local/lib/


Regards
Marco
_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Lorenzo Zanon Lorenzo Zanon
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation

Ok so I installed with

./configure --prefix=.../arpack_dir
make
make install

Now I need to link arpack to slepc. The configuration instruction they
provide is

./configure --with-arpack-dir=/usr/software/ARPACK
--with-arpack-flags=-lparpack,-larpack

where I replace the path with my .../arpack_dir. This doesn't work and I
get the error

Checking environment...
Checking PETSc installation...
Checking ARPACK library...
ERROR: Unable to link with library ARPACK
ERROR: In directories /home/lz474069/Desktop/arpack_dir
ERROR: With flags -L/home/lz474069/Desktop/arpack_dir -larpack

ERROR: See "arch-linux2-c-debug/conf/configure.log" file for details
             ...
             /usr/bin/ld: cannot find -lparpack
             ...

Do you know what is the problem here?

Thanks!
Lorenzo




On 4/16/14 1:53 PM, Marco Atzeri wrote:

>
>
> On 16/04/2014 13:30, Lorenzo Zanon wrote:
>> Hello,
>>
>> I'm trying to install arpack on the unix cluster of my university, but I
>> get the error below during "make install".
>>
>> Thanks for helping,
>> Lorenzo
>
>> make[2]: Entering directory
>> `/rwthfs/rz/cluster/home/lz474069/Desktop/arpack-ng-3.1.5'
>>   /usr/local_rwth/bin/gmkdir -p '/usr/local/lib'
>>   /bin/sh ./libtool   --mode=install /usr/local_rwth/bin/ginstall -c
>> libarpack.la '/usr/local/lib'
>> libtool: install: /usr/local_rwth/bin/ginstall -c
>> .libs/libarpack.so.2.0.0 /usr/local/lib/libarpack.so.2.0.0
>> /usr/local_rwth/bin/ginstall: cannot create regular file
>> `/usr/local/lib/libarpack.so.2.0.0': Permission denied
>
> the error message seems very clear to me.
> likely you need to be root to install in
> /usr/local/lib/
>
>
> Regards
> Marco
> _______________________________________________
> Arpack-ng mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/arpack-ng

--
============================
Lorenzo Zanon, M.Sc.
Doctoral Candidate

Graduate School AICES
RWTH Aachen University
Schinkelstra├če 2
52062 Aachen
Deutschland

[hidden email]
+49 (0)241 80 99 147
============================

_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Marco Atzeri Marco Atzeri
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation



On 16/04/2014 14:47, Lorenzo Zanon wrote:

> Ok so I installed with
>
> ./configure --prefix=.../arpack_dir
> make
> make install
>
> Now I need to link arpack to slepc. The configuration instruction they
> provide is
>
> ./configure --with-arpack-dir=/usr/software/ARPACK
> --with-arpack-flags=-lparpack,-larpack
>
> where I replace the path with my .../arpack_dir. This doesn't work and I
> get the error
>
> Checking environment...
> Checking PETSc installation...
> Checking ARPACK library...
> ERROR: Unable to link with library ARPACK
> ERROR: In directories /home/lz474069/Desktop/arpack_dir
> ERROR: With flags -L/home/lz474069/Desktop/arpack_dir -larpack
>
> ERROR: See "arch-linux2-c-debug/conf/configure.log" file for details
>              ...
>              /usr/bin/ld: cannot find -lparpack
>              ...
>
> Do you know what is the problem here?
>
> Thanks!
> Lorenzo

what is inside "/home/lz474069/Desktop/arpack_dir" ?

you need to specify the directory where your libarpack.so.a
is available...

see ./configure --help for more info

Marco

_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Lorenzo Zanon Lorenzo Zanon
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation

> what is inside "/home/lz474069/Desktop/arpack_dir" ?
>
> you need to specify the directory where your libarpack.so.a
> is available...
>
> see ./configure --help for more info
In arpack_dir there is a folder called lib with inside the folder pkgconfig and the files

libarpack.a
libarpack.la
libarpack.so
libarpack.so.2
libarpack.so.2.0.0



On 4/16/14 2:55 PM, Marco Atzeri wrote:

>
> On 16/04/2014 14:47, Lorenzo Zanon wrote:
>> Ok so I installed with
>>
>> ./configure --prefix=.../arpack_dir
>> make
>> make install
>>
>> Now I need to link arpack to slepc. The configuration instruction they
>> provide is
>>
>> ./configure --with-arpack-dir=/usr/software/ARPACK
>> --with-arpack-flags=-lparpack,-larpack
>>
>> where I replace the path with my .../arpack_dir. This doesn't work and I
>> get the error
>>
>> Checking environment...
>> Checking PETSc installation...
>> Checking ARPACK library...
>> ERROR: Unable to link with library ARPACK
>> ERROR: In directories /home/lz474069/Desktop/arpack_dir
>> ERROR: With flags -L/home/lz474069/Desktop/arpack_dir -larpack
>>
>> ERROR: See "arch-linux2-c-debug/conf/configure.log" file for details
>>               ...
>>               /usr/bin/ld: cannot find -lparpack
>>               ...
>>
>> Do you know what is the problem here?
>>
>> Thanks!
>> Lorenzo
> what is inside "/home/lz474069/Desktop/arpack_dir" ?
>
> you need to specify the directory where your libarpack.so.a
> is available...
>
> see ./configure --help for more info
>
> Marco
>

--
============================
Lorenzo Zanon, M.Sc.
Doctoral Candidate

Graduate School AICES
RWTH Aachen University
Schinkelstra├če 2
52062 Aachen
Deutschland

[hidden email]
+49 (0)241 80 99 147
============================

_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Lorenzo Zanon Lorenzo Zanon
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation

In reply to this post by Marco Atzeri
Hello,

For installing slepc with arpack, it might be necessary to first install
arpack with --enable-mpi. If I do:

./configure --prefix=$HOME/Desktop/arpack_dir --enable-mpi

the configuration fails, even adding to path the mpi directory, what in
my case would be:

export PATH=$PATH:$PETSC_DIR/$PETSC_ARCH/bin

Is there something else I need to specify?

Thanks
Lorenzo


_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Marco Atzeri Marco Atzeri
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation

In reply to this post by Lorenzo Zanon

On 16/04/2014 16:18, Lorenzo Zanon wrote:

>> what is inside "/home/lz474069/Desktop/arpack_dir" ?
>>
>> you need to specify the directory where your libarpack.so.a
>> is available...
>>
>> see ./configure --help for more info
> In arpack_dir there is a folder called lib with inside the folder
> pkgconfig and the files
>
> libarpack.a
> libarpack.la
> libarpack.so
> libarpack.so.2
> libarpack.so.2.0.0
>
>
>
> On 4/16/14 2:55 PM, Marco Atzeri wrote:
>>
>> On 16/04/2014 14:47, Lorenzo Zanon wrote:
>>> Ok so I installed with
>>>
>>> ./configure --prefix=.../arpack_dir

so

./configure --prefix=.../arpack_dir/lib

as libarpack.a is the import library needed for -larpack
_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Marco Atzeri Marco Atzeri
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation

In reply to this post by Lorenzo Zanon
On 23/04/2014 19:26, Lorenzo Zanon wrote:
> Hello,

Lorenzo,
it seems you need to learn some base stuff about Autoconf
before trying to build big programs.

>
> For installing slepc with arpack, it might be necessary to first install
> arpack with --enable-mpi. If I do:
>
> ./configure --prefix=$HOME/Desktop/arpack_dir --enable-mpi
>
> the configuration fails, even adding to path the mpi directory, what in
> my case would be:
>
> export PATH=$PATH:$PETSC_DIR/$PETSC_ARCH/bin
>
> Is there something else I need to specify?

are the mpi development library installed ?

>
> Thanks
> Lorenzo

Marco

_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Lorenzo Zanon Lorenzo Zanon
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installation


On 4/23/14 7:51 PM, Marco Atzeri wrote:

> On 23/04/2014 19:26, Lorenzo Zanon wrote:
>> Hello,
> Lorenzo,
> it seems you need to learn some base stuff about Autoconf
> before trying to build big programs.
>
>> For installing slepc with arpack, it might be necessary to first install
>> arpack with --enable-mpi. If I do:
>>
>> ./configure --prefix=$HOME/Desktop/arpack_dir --enable-mpi
>>
>> the configuration fails, even adding to path the mpi directory, what in
>> my case would be:
>>
>> export PATH=$PATH:$PETSC_DIR/$PETSC_ARCH/bin
>>
>> Is there something else I need to specify?
> are the mpi development library installed ?
>
Yes, otherwise I couldn't install Petsc.
_______________________________________________
Arpack-ng mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/arpack-ng
Loading...