-
Notifications
You must be signed in to change notification settings - Fork 75
{2023.06}[2023a] acpype v2023.10.27 #1332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
AmberTools 23.6 is picking up the wrong Python: |
c528fa1 to
79112a9
Compare
79112a9 to
ef843c4
Compare
easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-5.2.0-2023a.yml
Outdated
Show resolved
Hide resolved
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2 |
|
New job on instance
|
easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-5.2.0-2023a.yml
Outdated
Show resolved
Hide resolved
…23a.yml Co-authored-by: Caspar van Leeuwen <33718780+casparvl@users.noreply.github.com>
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2 |
|
New job on instance
|
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen3 |
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
|
This build seems to hang on all ARM architectures. In a 1381 minutes of CPU time, that's almost the full 23:23h this job has now been running. |
|
This is almost certainly the test step, I also see a process: |
|
Ran a few |
|
Also, for 125692, I downright killed easybuild. I hope I can still get access to the temporary log file... |
|
Hm... log file just says: Nothing more. Not very useful. |
|
bot:cancel 125690,125691 |
|
bot:cancel 14401394 |
|
I remember |
|
bot:cancel jobid:14401394 |
Yeah, I'm pretty sure this is a real hang. I think the best way to investigate is a build with |
I guess i can get an interactive shell on the AWS build cluster as i did for the QE benchmarks and test from there |
|
Curios if it could be something similar to http://archive.ambermd.org/201606/0163.html (@boegel ) |
|
Man this was a rabbithole, the hang boils down to https://bugs.webkit.org/show_bug.cgi?id=144439 which causes an infinite loops in int DetectBinaryFile(char* fname)
{
int isbinary;
long long int il, fsize;
char testchar;
FILE *finp;
// Detect binary files as those having any byte whose value is outside the
// range [0, 127].
if ((finp = fopen(fname, "r")) == NULL) {
printf("DetectBinaryFile >> Error. File %s does not exist.\n", fname);
exit(1);
}
isbinary = 0;
while ((testchar = fgetc(finp)) != EOF && isbinary == 0) {
if (testchar < 0) {
isbinary = 1;
break;
}
}
fclose(finp);
return isbinary;
}Also very easy to reproduce with a Test prpgram
#include <stdio.h>
#include <stdlib.h>
int DetectBinaryFile(char* fname)
{
int isbinary;
long long int il, fsize;
char testchar;
FILE *finp;
// Detect binary files as those having any byte whose value is outside the
// range [0, 127].
if ((finp = fopen(fname, "r")) == NULL) {
printf("DetectBinaryFile >> Error. File %s does not exist.\n", fname);
exit(1);
}
isbinary = 0;
int cnt = 0;
while ((testchar = fgetc(finp)) != EOF && isbinary == 0) {
printf("%c %d\n", testchar, testchar);
if (testchar < 0) {
isbinary = 1;
printf("BINARY!!!!: BREAK!\n");
break;
}
cnt++;
if (cnt > 10000000) {
printf("More than 10 milion chars... EXIT\n");
printf("EOF %%d: %d %%x: %x\n", EOF, EOF);
break;
}
}
fclose(finp);
return isbinary;
}
int main(int argc, char *argv[])
{
char* filename = argv[1];
int result = DetectBinaryFile(filename);
if (result) {
printf("The file %s is a binary file.\n", filename);
} else {
printf("The file %s is a text file.\n", filename);
}
return 0;
}replacing the char with an |
|
Apparently this was fixed at some point. In AmberTools 25 they have //-----------------------------------------------------------------------------
// DetectBinaryFile: runs a simple test to verify whether a file is ascii text
// or instead can only be parsed as a binary file. Returns
// 0 for ascii, 1 for binary.
//
// Arguments:
// fname: the name of the file
//-----------------------------------------------------------------------------
int DetectBinaryFile(char* fname)
{
int isbinary;
long long int il, fsize;
int testchar;
FILE *finp;
// Detect binary files as those having any byte whose value is outside the
// range [0, 127].
if ((finp = fopen(fname, "r")) == NULL) {
printf("DetectBinaryFile >> Error. File %s does not exist.\n", fname);
exit(1);
}
isbinary = 0;
while ((testchar = fgetc(finp)) != EOF && isbinary == 0) {
if (testchar < 0) {
isbinary = 1;
break;
}
}
fclose(finp);
return isbinary;
}Not sure if testing for |
|
@casparvl Was able to run an |
No description provided.