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

Request for help #130

Open
satishgc227 opened this issue Jan 10, 2023 · 19 comments
Open

Request for help #130

satishgc227 opened this issue Jan 10, 2023 · 19 comments

Comments

@satishgc227
Copy link

Respsected sir,
I am getting this error cwp1/bin/ximage: error reading input file Segmentation fault (core dumped).I followed the previous instructions but it is not working for me.Kindly help me.

@JohnWStockwellJr
Copy link
Owner

JohnWStockwellJr commented Jan 10, 2023 via email

@satishgc227
Copy link
Author

Respected sir,
i am following these steps: (for UBUNTU : 20.04.5 LTS)
1)mkdir cwp1 ( under "home/user/project" directory)
2)moving src directory after untar the zip
3)cd cwp1/src
4)echo "export CWPROOT=~/project/cwp1" >> /.bashrc
5)echo "export PATH=$PATH:/project/cwp1/bin" >> ~/.bashrc
6)source ~/.bashrc
7)make install
8)sudo apt-get install libx11-dev
9)sudo apt-get install libxt-dev
10)make xtinstall 
11)suplane | suximage title="My first test" &

Changes made to makefile.config:
XDRFLAG = (I have kept it empty)

After the include session of these files:

SeisUnix/src/su/main/decon_shaping/suphidecon.c
SeisUnix/src/su/main/amplitudes/sunan.c

In the above both files, i have made these changes as they were told in the discussion.
#ifdef linux
#define isfinite(v) (__builtin_isfinite(v))
#endif

But I am getting this error cwp1/bin/ximage: error reading input file Segmentation fault (core dumped).

@satishgc227
Copy link
Author

/home/user/project/cwp1/bin/ximage: error reading input file
Segmentation fault (core dumped)

@JohnWStockwellJr
Copy link
Owner

JohnWStockwellJr commented Jan 11, 2023 via email

@satishgc227
Copy link
Author

Respected sir,
The ubuntu is boot in linux 5.15.0

@JohnWStockwellJr
Copy link
Owner

JohnWStockwellJr commented Jan 12, 2023 via email

@satishgc227
Copy link
Author

Windows was there and it was removed completely and replaced with ubuntu linux usually followed in the net.

@JohnWStockwellJr
Copy link
Owner

JohnWStockwellJr commented Jan 12, 2023 via email

@satishgc227
Copy link
Author

satishgc227 commented Jan 12, 2023 via email

@satishgc227
Copy link
Author

satishgc227 commented Jan 12, 2023 via email

@JohnWStockwellJr
Copy link
Owner

JohnWStockwellJr commented Jan 12, 2023 via email

@satishgc227
Copy link
Author

yes sir.

@satishgc227
Copy link
Author

satishgc227 commented Jan 13, 2023 via email

@satishgc227
Copy link
Author

Sir, plz tell me how to proceed forward for this error : error cwp1/bin/ximage: error reading input file Segmentation fault (core dumped)

@JohnWStockwellJr
Copy link
Owner

JohnWStockwellJr commented Jan 16, 2023 via email

@satishgc227
Copy link
Author

satishgc227 commented Jan 16, 2023

Sir i have tried the following things and got the result as shown below :
I am attaching the screenshots for every step that i have done sir.

echo $CWPROOT - /home/satish/cwp1
Screenshot from 2023-01-16 09-35-01

echo $PATH - /home/satish/cwp1/bin (It gave the bin as the directory in the last)
screenshot-nimbusweb me-2023 01 16-09_45_21

~/.bashrc file :
Screenshot from 2023-01-16 09-37-13

I have mailed the typescript to [email protected]
THen i have done following things also sir.

$ cd $CWPROOT/src
$ script
$ make remake
$ make xtremake

When it finishes type
$ exit

But when I type suplane|suximage , it is telling "command not found"
same goes for suplane|suxwigb

@satishgc227
Copy link
Author

Respected sir,
I was able to install in ubuntu 19 version .Thanks for help . But sir some code commands are missing even though some are working.I am not able to figure it out sir.How to install those commands (EX:suimage ,suxwigb ,etc . )

I want to understand the codes that are written in the files.Kindly help me sir since i am not so much expert in coding.Any videos or documentation or pdf for understanding codes is good enough sir.

Regards,
Satish

@JohnWStockwellJr
Copy link
Owner

JohnWStockwellJr commented Jan 17, 2023 via email

@satishgc227
Copy link
Author

satishgc227 commented Jan 17, 2023 via email

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