Yufeng-shen / TJ2GBE

Reconstruct grain boundary energy from triple junction geometries
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Ground Truth Compilation Error #7

Open sgbaird opened 3 years ago

sgbaird commented 3 years ago

Hi Yufeng,

I tried compiling the ground truth code in Src/Fortran/minuit-master, but received many warnings: minuit-master-ground-truth-warnings.txt

Followed by:

sterg@DESKTOP-5KP0NBV:~/TJ2GBE-shen/Src/Fortran$ gfortran -o Torq_gen.out -l minuit -Lminuit-master
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
collect2: error: ld returned 1 exit status

On a supercomputer Linux shell, I don't get any errors from make, just: ar rcs libminuit.a *.o

But when trying to compile:

-bash-4.2$ gfortran -o Torq_gen.out -l minuit -Lminuit-master
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status

I'm trying to get a 60,000 TJ ground truth file to work with. Any suggestions?

Sterling

Yufeng-shen commented 3 years ago

I'm getting similar error now. I guess that's caused by Fortran compiler version? Sorry about that