Skip to content

change compress level to 6 from default 9 to accelerate compress#593

Merged
wanghan-iapcm merged 1 commit into
deepmodeling:develfrom
taipinghu:devel
Nov 30, 2021
Merged

change compress level to 6 from default 9 to accelerate compress#593
wanghan-iapcm merged 1 commit into
deepmodeling:develfrom
taipinghu:devel

Conversation

@taipinghu

@taipinghu taipinghu commented Nov 20, 2021

Copy link
Copy Markdown
Contributor

In some case, FP calculations could read the wave function file or charge files (e.g., CHGCAR and WAVECAR in VASP ). If the size of those files is too big, the compress process could be very slow due to the default setting (compresslevel=9) in tarfile module of python. Change the compresslevel to 6 will accelate compress rate.

@wanghan-iapcm

Copy link
Copy Markdown
Contributor

@felix5572 @njzjz Is this change submitted to the dpdispatcher?

@njzjz

njzjz commented Nov 21, 2021

Copy link
Copy Markdown
Member

@felix5572 @njzjz Is this change submitted to the dpdispatcher?

Not yet but it should.

@wanghan-iapcm

Copy link
Copy Markdown
Contributor

@njzjz Do you have any idea why the UTs failed?

@njzjz

njzjz commented Nov 22, 2021

Copy link
Copy Markdown
Member

@njzjz Do you have any idea why the UTs failed?

Maybe a dependency is lacked in dpdata. I'll add it.

@njzjz

njzjz commented Nov 22, 2021

Copy link
Copy Markdown
Member

@njzjz Do you have any idea why the UTs failed?

Maybe a dependency is lacked in dpdata. I'll add it.

deepmodeling/dpdata#227

@wanghan-iapcm

Copy link
Copy Markdown
Contributor

@njzjz Do you have any idea why the UTs failed?

Maybe a dependency is lacked in dpdata. I'll add it.

deepmodeling/dpdata#227

Why it was not triggered by the UTs of dpdata?

@njzjz

njzjz commented Nov 23, 2021

Copy link
Copy Markdown
Member

It is a dependency of something else? It was indeed installed in the UT workflow of dpdata.

@wanghan-iapcm

Copy link
Copy Markdown
Contributor

I see. strange enough...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants