An example of installing SEPlib in Ubuntu

Source: Internet
Author: User
It is too difficult to install SEPlib! I installed it on Ubuntu: I tried a lot of compiler combinations (gcc, icc, gfortran, f95, f77, ifort), but I couldn't. I changed a lot of code and I still had a problem: finally, select CC = icc or CC = mpicc (if MPI is required, change mpicc to icc). FC = ifort can be changed successfully. Icc, ifort version: Version11.1 -- with-fftw and -- with-omp SEPlib installation is very troublesome, it is too difficult!
My installation on Ubuntu:

I tried a lot of compiler combinations (gcc, icc, gfortran, f95, f77, ifort), but I still had a problem with the code:
Last selection:
CC = icc or CC = mpicc (if MPI support is required, change mpicc to icc)
FC = ifort
It can be changed successfully.

Icc, ifort Version: Version 11.1

-- With-fftw and -- with-omp cannot be compiled.

Export CC = mpicc
Export FC = ifort

./Configure -- with-prefix =/home/yiling/programdir/seplib653 -- with-local -- with-mpi -- with-su =/home/yiling/programdir/cwp

------------ Log File: as follows --------------
This file contains any messages produced by compilers while
Running configure, to aid debugging if configure makes a mistake.

It was created by seplib configure 6.5.3, which was
Generated by GNU Autoconf 2.59. Invocation command line was

$./Configure -- with-prefix =/home/yiling/programdir/seplib653 -- with-local -- with-mpi -- with-su =/home/yiling/programdir/cwp

##---------##
# Platform .##
##---------##

Hostname = yilingworkshop
Uname-m = i686
Uname-r = 2.6.28-17-server
Uname-s = Linux
Uname-v = # 58-Ubuntu SMP Tue Dec 1 19:58:28 UTC 2009

/Usr/bin/uname-p = unknown
/Bin/uname-X = unknown

/Bin/arch = unknown
/Usr/bin/arch-k = unknown
/Usr/convex/getsysinfo = unknown
Hostinfo = unknown
/Bin/machine = unknown
/Usr/bin/oslevel = unknown
/Bin/universe = unknown

PATH:/opt/intel/Compiler/11.1/064/bin/ia32
PATH:/opt/intel/Compiler/11.1/064/bin/ia32
PATH:/usr/local/sbin
PATH:/usr/local/bin
PATH:/usr/sbin
PATH:/usr/bin
PATH:/sbin
PATH:/bin
PATH:/usr/games
PATH:/opt/maid/bin
PATH:/opt/real/RealPlayer
PATH:/home/yiling/programdir/cwp/bin
PATH:/home/yiling/programdir/mpiuser/mpich2/bin
PATH:/home/yiling/programdir/seplib653/bin
PATH:/home/yiling/programdir/rsf/bin
PATH :.


Ifort compilation has a problem:
There is a problem when compiling this file,
Super_chain_mod.f90
There is a problem with the dummy type. After checking the related functions
The problem of non-matching of dummy yuan occurs in line 79.
That is, the first two parameter types of the chain20 () function do not match (specifically, the first two parameters are functions, and the input parameters of these two functions are not strictly defined)
(Gfortran can solve this problem, but gfortran seems to have a problem with the sequence of compilation for seplib)

Modify
About 50 rows, that is, the function definition of the input parameter corresponding to chain20
Logical: adj, add, adj_new
Change:
Logical, intent (in): adj, add
Logical: adj_new

Other errors are similar.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.