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

make error #13

Open
Bibhu2203 opened this issue Jun 2, 2024 · 1 comment
Open

make error #13

Bibhu2203 opened this issue Jun 2, 2024 · 1 comment

Comments

@Bibhu2203
Copy link

Why I'm unable to run "make" command successfully. Always getting "make: *** [makefile:8: eazy] Error 1"
Please help

@ljabbo
Copy link

ljabbo commented Jan 15, 2025

I ran into the same issue and have fixed it after digging through the definitions.

My solution was to:

in src/defs.h add extern to line 35:

extern int32_t nusefilt32, NTEMP32, nobj32, NZ32, NK32,*izsave32, NTEMPL32;

and in src/getphotz.c remove or comment out line 3:

// int iz;

Now, make runs fine, there's still warnings, but no errors.

The example of

cd ../inputs
mkdir OUTPUT
../src/eazy # generates param file
../src/eazy -p zphot.param.default

also completes without errors and seems to have the proper output.

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