James-Thorson-NOAA / VAST

Spatio-temporal analysis of univariate or multivariate data, e.g., standardizing data for multiple species or stages
http://www.FishStats.org
GNU General Public License v3.0
124 stars 54 forks source link

Error in TMB::compile(paste0(Version, ".cpp")) : Compilation failed #200

Closed darren321 closed 5 years ago

darren321 commented 5 years ago

In Issue #199, now closed, you gave me a fix. It was fine until the end. What did I do wrong?

Run model

fit = fit_model( "settings"=settings, "Lat_i"=example$sampling_data[,'Lat'],

Making extrapolation-grid

Using strata 1 convUL: For the UTM conversion, automatically detected zone 32. convUL: Converting coordinates within the northern hemisphere.

Making spatial information

convUL: Converting coordinates within the northern hemisphere. convUL: For the UTM conversion, used zone 32 as specified convUL: Converting coordinates within the northern hemisphere. convUL: For the UTM conversion, used zone 32 as specified Num=1 Current_Best=Inf New=9965511.8 Num=2 Current_Best=9965511.8 New=10645113.4 Num=3 Current_Best=9965511.8 New=10331526.6 Num=4 Current_Best=9965511.8 New=9882665.7 Num=5 Current_Best=9882665.7 New=9815153.3 Num=6 Current_Best=9815153.3 New=10126587 … I just delete 7-95 for brevity… Num=96 Current_Best=9239678.5 New=10114635.9 Num=97 Current_Best=9239678.5 New=10317135.9 Num=98 Current_Best=9239678.5 New=10285895 Num=99 Current_Best=9239678.5 New=10145057.6 Num=100 Current_Best=9239678.5 New=10044940.9 Calculated and saved to L:/Center Data/Johnson_Darren/Lamont_FL/Harts_Group/VAST//Kmeans-100.RData convUL: Converting coordinates within the northern hemisphere. convUL: Converting coordinates within the northern hemisphere.

Making data object

FieldConfig_input is: Component_1 Component_2 Omega -2 -2 Epsilon -2 -2 Beta -2 -2 OverdispersionConfig_input is: Eta1 Eta2 -1 -1 Calculating range shift for stratum #1:

Making TMB object

Error in TMB::compile(paste0(Version, ".cpp")) : Compilation failed

James-Thorson-NOAA commented 5 years ago

please confirm that TMB is installed and then check with a POC for your organization