-
Notifications
You must be signed in to change notification settings - Fork 15
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
Simplify the cpack options in AthenaUtils.archiveWithCpack #26
Comments
Removed in 1.5.45. Will be deployed on CVMFS shortly. |
Hi t3sw,
Please deploy panda-client 1.5.45 on CVMFS.
Thanks,
Tadashi
…On Mon, Apr 24, 2023 at 1:38 PM Attila Krasznahorkay < ***@***.***> wrote:
Since there was only a limited reaction on the corresponding ATLAS e-mail
thread, I thought it would be better to open an issue here.
The following way of calling CPack
<https://cmake.org/cmake/help/latest/manual/cpack.1.html> is way "over
engineered". 😦
https://github.com/PanDAWMS/panda-client/blob/master/pandaclient/AthenaUtils.py#L1067-L1070
Most of the -D arguments are unnecessary in there. But there is one that
is actively disruptive: -D CPACK_INSTALL_CMAKE_PROJECTS="" That one
explicitly tells CPack not to install *anything*.
With the way that AtlasCMake
<https://gitlab.cern.ch/atlas/atlasexternals/-/tree/master/Build/AtlasCMake>
has operated for years, this option was simply ignored. But now that I'm
trying to make the ATLAS builds behave in a "more standard" way, this flag
prevents prun from collecting the code of the users that they are trying
to execute a job with.
Please remove that argument from the CPack call. It was not needed with
old ATLAS analysis releases either, and is now actively hurtful with the
latest ones.
—
Reply to this email directly, view it on GitHub
<#26>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSIT2IX5ZPTKP3ZAVAL2L3XCZQ4BANCNFSM6AAAAAAXJOLRI4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi Tadashi,
This simple test fails (there may be more - testing in progress).
(also seen on alma9)
(Athena,22.0.50) centos7
2: panda pathena (x509) (bash) ...
cmd: pathena HelloWorldOptions.py --outDS=user.desilva.test.656cea13-c8ec-434a-8062-6f3f0e343235.x86_64-bash-pythonnone-x509 --noOutput
INFO : using CMTCONFIG=x86_64-centos7-gcc11-opt
INFO : extracting run configuration
INFO : ConfigExtractor > No Input
INFO : archiving source files
INFO : The build directory is /cvmfs/atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.50/InstallArea
ERROR : cpack failed
panda pathena (x509) (bash) [FAILED]
This one on alma9 looks like a glitch and not a panda-client issue but I report for completeness.
4: panda prun container (x509) (bash) ...
Note: centos9 support is new.
You may want to use a centos7 container if you have issues.
cmd: prun --exec='./myPunJob.sh' --outDS=user.desilva.test.2a423b6a-f5f6-480c-ada5-ea271cd350ab.x86_64-bash-pythonnone-x509 --noBuild --containerImage library/busybox:latest
INFO : gathering files under /home/desilva/tmp/desilva/.alrb/testing/tester.AlboMD/panda/bash/none/x509/prunContainer
INFO : upload sandbox
INFO : submit user.desilva.test.2a423b6a-f5f6-480c-ada5-ea271cd350ab.x86_64-bash-pythonnone-x509/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
ERROR : task submission failed with 255
panda prun container (x509) (bash) [FAILED]
Please let me know when you have a new version.
Thanks !
regards,
Asoka
On Apr 24, 2023, at 4:51 AM, Tadashi Maeno ***@***.***> wrote:
Hi t3sw,
Please deploy panda-client 1.5.45 on CVMFS.
Thanks,
Tadashi
On Mon, Apr 24, 2023 at 1:38 PM Attila Krasznahorkay ***@***.******@***.***>> wrote:
Since there was only a limited reaction on the corresponding ATLAS e-mail thread, I thought it would be better to open an issue here.
The following way of calling CPack<https://cmake.org/cmake/help/latest/manual/cpack.1.html> is way "over engineered". 😦
https://github.com/PanDAWMS/panda-client/blob/master/pandaclient/AthenaUtils.py#L1067-L1070
Most of the -D arguments are unnecessary in there. But there is one that is actively disruptive: -D CPACK_INSTALL_CMAKE_PROJECTS="" That one explicitly tells CPack not to install anything.
With the way that AtlasCMake<https://gitlab.cern.ch/atlas/atlasexternals/-/tree/master/Build/AtlasCMake> has operated for years, this option was simply ignored. But now that I'm trying to make the ATLAS builds behave in a "more standard" way, this flag prevents prun from collecting the code of the users that they are trying to execute a job with.
Please remove that argument from the CPack call. It was not needed with old ATLAS analysis releases either, and is now actively hurtful with the latest ones.
—
Reply to this email directly, view it on GitHub<#26>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSIT2IX5ZPTKP3ZAVAL2L3XCZQ4BANCNFSM6AAAAAAXJOLRI4>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
With 22.0.50,Athena
while
Apparently @krasznaa , what should we do then? |
Curious. Is I.e. when executing the type of command that you posted Tadashi inside of my "build directory", I get:
But if I try to execute it from a different directory, sure enough, I get:
But then again, when being outside of the "build directory", and specifying a So... where does Panda run these commands from exactly...? |
Also, this line in Asoka's log is pretty worrisome:
The code should really be able to recognize when no build directory exists. As in that case it just does not need to package up anything with CPack... |
I was asked to execute cpack from the first entry of $CMAKE_PREFIX_PATH.
this message means cpack is executed from xyz. I suppose that the first entry of $CMAKE_PREFIX_PATH points to If the easiest solution is to skip cpack when the user doesn't have own build dir, how can I check the presence of user's |
To be correct, you execute This is correct. When the user actually uses a "build directory", that is indeed where the directory is. But when there's no "build directory" used, just an existing ATLAS release, that directory is usually some path on CVMFS. I believe the best thing to do is to check whether there is a file called So if I understand correctly, the issue here is really just to not try to use |
OK, I've added the change in 1.5.46. |
Hi Asoka,
Please deploy 1.5.46. I've added the fix following Attila's suggestion.
Tadashi
On Mon, Apr 24, 2023 at 5:47 PM Asoka De Silva ***@***.***>
wrote:
… Hi Tadashi,
This simple test fails (there may be more - testing in progress).
(also seen on alma9)
(Athena,22.0.50) centos7
2: panda pathena (x509) (bash) ...
cmd: pathena HelloWorldOptions.py
--outDS=user.desilva.test.656cea13-c8ec-434a-8062-6f3f0e343235.x86_64-bash-pythonnone-x509
--noOutput
INFO : using CMTCONFIG=x86_64-centos7-gcc11-opt
INFO : extracting run configuration
INFO : ConfigExtractor > No Input
INFO : archiving source files
INFO : The build directory is /cvmfs/
atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.50/InstallArea
ERROR : cpack failed
panda pathena (x509) (bash) [
FAILED]
This one on alma9 looks like a glitch and not a panda-client issue but I
report for completeness.
4: panda prun container (x509) (bash) ...
Note: centos9 support is new.
You may want to use a centos7 container if you have issues.
cmd: prun --exec='./myPunJob.sh'
--outDS=user.desilva.test.2a423b6a-f5f6-480c-ada5-ea271cd350ab.x86_64-bash-pythonnone-x509
--noBuild --containerImage library/busybox:latest
INFO : gathering files under
/home/desilva/tmp/desilva/.alrb/testing/tester.AlboMD/panda/bash/none/x509/prunContainer
INFO : upload sandbox
INFO : submit
user.desilva.test.2a423b6a-f5f6-480c-ada5-ea271cd350ab.x86_64-bash-pythonnone-x509/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
ERROR : task submission failed with 255
panda prun container (x509) (bash) [
FAILED]
Please let me know when you have a new version.
Thanks !
regards,
Asoka
On Apr 24, 2023, at 4:51 AM, Tadashi Maeno ***@***.***> wrote:
Hi t3sw,
Please deploy panda-client 1.5.45 on CVMFS.
Thanks,
Tadashi
On Mon, Apr 24, 2023 at 1:38 PM Attila Krasznahorkay <
***@***.***> wrote:
>
> Since there was only a limited reaction on the corresponding ATLAS e-mail
> thread, I thought it would be better to open an issue here.
>
> The following way of calling CPack
> <https://cmake.org/cmake/help/latest/manual/cpack.1.html> is way "over
> engineered". 😦
>
>
> https://github.com/PanDAWMS/panda-client/blob/master/pandaclient/AthenaUtils.py#L1067-L1070
>
> Most of the -D arguments are unnecessary in there. But there is one that
> is actively disruptive: -D CPACK_INSTALL_CMAKE_PROJECTS="" That one
> explicitly tells CPack not to install *anything*.
>
> With the way that AtlasCMake
> <https://gitlab.cern.ch/atlas/atlasexternals/-/tree/master/Build/AtlasCMake>
> has operated for years, this option was simply ignored. But now that I'm
> trying to make the ATLAS builds behave in a "more standard" way, this flag
> prevents prun from collecting the code of the users that they are trying
> to execute a job with.
>
> Please remove that argument from the CPack call. It was not needed with
> old ATLAS analysis releases either, and is now actively hurtful with the
> latest ones.
>
> —
> Reply to this email directly, view it on GitHub
> <#26>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABSIT2IX5ZPTKP3ZAVAL2L3XCZQ4BANCNFSM6AAAAAAXJOLRI4>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Hi Tadashi,
Done when you see this or newer
\tail -n 1 /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/logDir/lastUpdate
2023Apr25 19:40 | lxcvmfs169.cern.ch | 1682444438
Thanks !
regards,
Asoka
On Apr 25, 2023, at 1:23 AM, Tadashi Maeno ***@***.***> wrote:
Hi Asoka,
Please deploy 1.5.46. I've added the fix following Attila's suggestion.
Tadashi
On Mon, Apr 24, 2023 at 5:47 PM Asoka De Silva ***@***.******@***.***>> wrote:
Hi Tadashi,
This simple test fails (there may be more - testing in progress).
(also seen on alma9)
(Athena,22.0.50) centos7
2: panda pathena (x509) (bash) ...
cmd: pathena HelloWorldOptions.py --outDS=user.desilva.test.656cea13-c8ec-434a-8062-6f3f0e343235.x86_64-bash-pythonnone-x509 --noOutput
INFO : using CMTCONFIG=x86_64-centos7-gcc11-opt
INFO : extracting run configuration
INFO : ConfigExtractor > No Input
INFO : archiving source files
INFO : The build directory is /cvmfs/atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.50/InstallArea<http://atlas.cern.ch/repo/sw/software/22.0/Athena/22.0.50/InstallArea>
ERROR : cpack failed
panda pathena (x509) (bash) [FAILED]
This one on alma9 looks like a glitch and not a panda-client issue but I report for completeness.
4: panda prun container (x509) (bash) ...
Note: centos9 support is new.
You may want to use a centos7 container if you have issues.
cmd: prun --exec='./myPunJob.sh' --outDS=user.desilva.test.2a423b6a-f5f6-480c-ada5-ea271cd350ab.x86_64-bash-pythonnone-x509 --noBuild --containerImage library/busybox:latest
INFO : gathering files under /home/desilva/tmp/desilva/.alrb/testing/tester.AlboMD/panda/bash/none/x509/prunContainer
INFO : upload sandbox
INFO : submit user.desilva.test.2a423b6a-f5f6-480c-ada5-ea271cd350ab.x86_64-bash-pythonnone-x509/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
ERROR : task submission failed with 255
panda prun container (x509) (bash) [FAILED]
Please let me know when you have a new version.
Thanks !
regards,
Asoka
On Apr 24, 2023, at 4:51 AM, Tadashi Maeno ***@***.******@***.***>> wrote:
Hi t3sw,
Please deploy panda-client 1.5.45 on CVMFS.
Thanks,
Tadashi
On Mon, Apr 24, 2023 at 1:38 PM Attila Krasznahorkay ***@***.******@***.***>> wrote:
Since there was only a limited reaction on the corresponding ATLAS e-mail thread, I thought it would be better to open an issue here.
The following way of calling CPack<https://cmake.org/cmake/help/latest/manual/cpack.1.html> is way "over engineered". 😦
https://github.com/PanDAWMS/panda-client/blob/master/pandaclient/AthenaUtils.py#L1067-L1070
Most of the -D arguments are unnecessary in there. But there is one that is actively disruptive: -D CPACK_INSTALL_CMAKE_PROJECTS="" That one explicitly tells CPack not to install anything.
With the way that AtlasCMake<https://gitlab.cern.ch/atlas/atlasexternals/-/tree/master/Build/AtlasCMake> has operated for years, this option was simply ignored. But now that I'm trying to make the ATLAS builds behave in a "more standard" way, this flag prevents prun from collecting the code of the users that they are trying to execute a job with.
Please remove that argument from the CPack call. It was not needed with old ATLAS analysis releases either, and is now actively hurtful with the latest ones.
—
Reply to this email directly, view it on GitHub<#26>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSIT2IX5ZPTKP3ZAVAL2L3XCZQ4BANCNFSM6AAAAAAXJOLRI4>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Since there was only a limited reaction on the corresponding ATLAS e-mail thread, I thought it would be better to open an issue here.
The following way of calling CPack is way "over engineered". 😦
https://github.com/PanDAWMS/panda-client/blob/master/pandaclient/AthenaUtils.py#L1067-L1070
Most of the
-D
arguments are unnecessary in there. But there is one that is actively disruptive:-D CPACK_INSTALL_CMAKE_PROJECTS=""
That one explicitly tells CPack not to install anything.With the way that AtlasCMake has operated for years, this option was simply ignored. But now that I'm trying to make the ATLAS builds behave in a "more standard" way, this flag prevents
prun
from collecting the code of the users that they are trying to execute a job with.Please remove that argument from the CPack call. It was not needed with old ATLAS analysis releases either, and is now actively hurtful with the latest ones.
The text was updated successfully, but these errors were encountered: