|
@@ -325,7 +325,7 @@ struct ItemStruct NL_list[NL_MAX_ITEMS];
|
|
|
int BigEndian;
|
|
|
int Oce;
|
|
|
int Ice;
|
|
|
-int Lsg;
|
|
|
+int Lsg = 1;
|
|
|
int SimStart;
|
|
|
int SimYears;
|
|
|
int nreadsr;
|
|
@@ -2029,6 +2029,7 @@ int Build(int model)
|
|
|
if (Lsg)
|
|
|
{
|
|
|
fputs("cp -p ../../lsg/src/lsgmod.f90 .\n",fp);
|
|
|
+ fputs("cat lsgmod.f90\n",fp);
|
|
|
putenv("OCEANCOUP=cpl");
|
|
|
}
|
|
|
else
|
|
@@ -2054,7 +2055,8 @@ int Build(int model)
|
|
|
fputs(" ../../most_precision_options",fp);
|
|
|
}
|
|
|
fprintf(fp," make_%s > makefile\n",shomo);
|
|
|
- fputs("make -e\n",fp);
|
|
|
+ fputs("source ../../modules.load\n",fp);
|
|
|
+ fputs("make\n",fp);
|
|
|
|
|
|
fprintf(fp,"[ $? == 0 ] && cp %s.x ../bin/%s\n",shomo,exec_name);
|
|
|
|