Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build of ellipcorr fails #121

Open
chazanov opened this issue Aug 2, 2019 · 2 comments
Open

Build of ellipcorr fails #121

chazanov opened this issue Aug 2, 2019 · 2 comments

Comments

@chazanov
Copy link

chazanov commented Aug 2, 2019

Dear developers,

I'm trying to build hiperseis under ArchLinux, but it fails due to ellipcorr. Compilation works, only a lame directory "convert_logs" isn't found:

running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "ellipcorr" sources
f2py options: []
f2py:> build/src.linux-x86_64-3.7/ellipcorrmodule.c
creating build
creating build/src.linux-x86_64-3.7
Reading fortran codes...
	Reading file 'ellip-corr/ellip/ellipcorr.f' (format:fix,strict)
Post-processing...
	Block: ellipcorr
			Block: ellipticity_corr
analyzevars: character array "character*8 phcod(57)" is considered as "character phcod(57,8)"; "intent(c)" is forced.
{}
In: :ellipcorr:ellip-corr/ellip/ellipcorr.f:phase_alias
vars2fortran: No typespec for argument "delta".
{}
In: :ellipcorr:ellip-corr/ellip/ellipcorr.f:phase_alias
vars2fortran: No typespec for argument "ip".
			Block: phase_alias
			Block: lnblk
Post-processing (stage 2)...
Building modules...
	Building module "ellipcorr"...
		Constructing wrapper function "ellipticity_corr"...
		  tcor = ellipticity_corr(phase,edist,edepth,ecolat,azim)
		Constructing wrapper function "phase_alias"...
		  phase_alias(phase,delta,ip)
		Creating wrapper for Fortran function "lnblk"("lnblk")...
		Constructing wrapper function "lnblk"...
		  lnblk = lnblk(s)
	Wrote C/API module "ellipcorr" to file "build/src.linux-x86_64-3.7/ellipcorrmodule.c"
	Fortran 77 wrappers are saved to "build/src.linux-x86_64-3.7/ellipcorr-f2pywrappers.f"
  adding 'build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/fortranobject.c' to sources.
  adding 'build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7' to include_dirs.
creating build/src.linux-x86_64-3.7/build
creating build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7
copying /usr/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.c -> build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7
copying /usr/lib/python3.7/site-packages/numpy/f2py/src/fortranobject.h -> build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7
  adding 'build/src.linux-x86_64-3.7/ellipcorr-f2pywrappers.f' to sources.
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/seismic
copying seismic/__init__.py -> build/lib.linux-x86_64-3.7/seismic
error: package directory 'convert_logs' does not exist

How may I patch this away?
Additional information: I'm using gcc-fortran 9.1.0

@zhang01GA
Copy link
Contributor

I will have a look at this issue. Have not seen it before.

@chazanov
Copy link
Author

chazanov commented Aug 9, 2019

@zhang01GA Dear Zhang,
could you reproduce my error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants