ForestVegetationSimulator icon indicating copy to clipboard operation
ForestVegetationSimulator copied to clipboard

Variants AK and ON code error

Open hrushikeshm-g opened this issue 1 year ago • 0 comments

#!/bin/bash

# List of possible values for the wildcard * (FVS variants)
# ? : varient (ak and on) does not work variants (ak and on) does not work due to errors in their code
folders=("bc" "bm" "ca" "ci" "cr" "cs" "ec" "em" "kt" "ls" "nc" "ne" "ie" "op" "oc" "pn" "sn" "so" "tt" "ut" "wc" "ak" "ws" "on")  # Add other values as needed

for folder in "${folders[@]}"
do
    cd "FVS${folder}_CmakeDir" && make
    # Check the exit code to determine success or failure
    if [ $? -eq 0 ]; then
        echo "Success: FVS${folder}_CmakeDir"
        cp "FVS${folder}" ../../../binaries
    else
        echo "Failure: FVS${folder}_CmakeDir"
    fi
    # Move back to the original directory
    cd ..
done

? : variant (ak and on) does not work variants (ak and on) does not work due to errors in their code

Not able to create the binaries for AK and ON variant executable (FVSak and FVSon not able to created...)

hrushikeshm-g avatar Mar 07 '24 08:03 hrushikeshm-g