jaimedelacruz / stic

The Stockholm inversion code
19 stars 6 forks source link

I face a problem when compiling my code #3

Open Mohamed-Sedik opened 3 months ago

Mohamed-Sedik commented 3 months ago

I face a problem when compiling my code, the make file is OPTS = -O3 -march=native -I/usr/include/tirpc CXXFLAGS = $(OPTS) -std=c++11 CFLAGS = $(OPTS) -DHAVE_F90 -ffast-math FFLAGS = $(OPTS) AR = gcc-ar OPENMP = -fopenmp

LINKEROPTS = -lgfortran -lm -lpthread -ltirpc

#

GSL, FFTW3 libs.

Any unix system should have this installed in /usr.

# GSLPATH = /home/sedik/miniconda3/env/stic

I get an error as

/home/sedik/miniconda3/envs/stic/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -ltirpc: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:30: STiC] Error 1