You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that tcoffe use /var/tmp by default if TMP_4_TCOFFEE nor UNIQUE_DIR_4_TCOFFEE are defined
tmp_4_tcoffee=(char*)vcalloc (1000, sizeof (char));
char *v=getenv("TMP_4_TCOFFEE");
if (getenv ("UNIQUE_DIR_4_TCOFFEE"))
{
printf("UNIQUE_DIR_4_TCOFFEE\n");
sprintf (tmp_4_tcoffee, "%s/", getenv("UNIQUE_DIR_4_TCOFFEE"));
}
if (v && strm (v, "TMP"))sprintf (tmp_4_tcoffee, "%s/", getenv("TMP"));
else if (v && strm (v, "LOCAL"))sprintf (tmp_4_tcoffee, "%s/", getcwd(NULL,0));
else if (v && strm (v, "."))sprintf (tmp_4_tcoffee, "%s/", getcwd(NULL,0));
else if (v)sprintf (tmp_4_tcoffee, "%s", v);
else if (isdir("/var/tmp"))sprintf (tmp_4_tcoffee, "/var/tmp/");
else if (isdir(get_dir_4_tcoffee ()))sprintf (tmp_4_tcoffee, "%s", get_dir_4_tcoffee());
else sprintf (tmp_4_tcoffee, "%s/", getcwd(NULL,0));
//now that rough location is decided, create the subdir structure
you may want to check environement TMPDIR before setting default value for tmp_4_tcoffee
using `/var/tmp/ may cause problems on some cluster compute nodes
regards
Eric
The text was updated successfully, but these errors were encountered:
Hello,
I noticed that tcoffe use
/var/tmp
by default ifTMP_4_TCOFFEE
norUNIQUE_DIR_4_TCOFFEE
are definedyou may want to check environement TMPDIR before setting default value for
tmp_4_tcoffee
using `/var/tmp/ may cause problems on some cluster compute nodes
regards
Eric
The text was updated successfully, but these errors were encountered: