Chapter 187: Let Me Think

My IQ Grows Every Year by Quiet Art (介安艺)

The corridor of the School of Physics' basement lab was long, and the incandescent bulbs overhead gave off a faint electrical hum.

Chen Zhuo came down the stairs and pushed open the soundproof door at the end of the corridor.

A thick smell of cigarette smoke hit him in the face, mixed with the hot air blowing from the computer cases' vents.

Zhang Yuan sat at the computer in the middle, both hands raking through his already messy hair. His eyes were heavily bloodshot, and his lips were so dry they had started to peel.

Lin Fang sat at a desk on the other side holding a thick stack of printouts, checking the data line by line with a red pen. She lifted a hand to rub between her brows, picked up the enamel tea mug from the desk and took a sip, then frowned slightly. The water had obviously gone stone cold.

At the sound of the door, both of them turned around at once.

"Senior Brother, Senior Sister."

Chen Zhuo pulled the door shut behind him, slipped the backpack off his shoulders and set it on an empty desk nearby.

Zhang Yuan looked like a drowning man who had just grabbed a lifeline. He shot to his feet and pushed his swivel chair back to make room.

"You're finally here. Sit."

Zhang Yuan pointed at the screen.

Chen Zhuo walked over but didn't sit right away. First he took a look at what was on the screen.

It was a three-dimensional model of a train nose, pieced together from countless dense grid cells.

There were so many lines crammed together that they blurred into a glaring smear of green on the screen. Several black command-line windows were running beside it, their cursors frozen in place, taking ages to produce a single new line of data.

"Frozen?" Chen Zhuo asked.

"It's been stuck for three hours."

Zhang Yuan fished a pack of cigarettes off the desk, pulled one out and stuck it between his teeth. He patted around for a long time without finding a lighter, then gave up, took the cigarette out of his mouth and tossed it aside.

"Memory's maxed out, and CPU usage has been pinned at a hundred percent. If this junk machine keeps churning like this, I'm afraid the motherboard's going to burn."

Chen Zhuo pulled over a chair and sat down, resting his hand on the mouse. He slid it a couple of times. The display lagged badly, and there was an obvious delay when he dragged the model.

"Has the Ministry of Railways come back with new requirements?" Chen Zhuo asked, eyes on the screen.

Lin Fang put down her paper cup and nodded.

"Early next month, second round of talks. The Siemens and Kawasaki teams have already arrived in the capital."

"They won't hand over the aerodynamic data?"

"Not a scrap."

Zhang Yuan gave a cold laugh and slapped his palm down hard on the desk.

"Not only won't they give us the data, they're squeezing us on price too. They know for a fact that our domestic high-speed wind tunnels can't produce full-scale transonic data at this stage."

Lin Fang leaned back in her chair and looked up at the incandescent bulb on the ceiling.

"Their representative said some really ugly things at the meeting. The gist was that our tunnels have different cross-sections from theirs, and if we don't take their original factory aerodynamic data and just slap the train nose on and run it ourselves, people will die when it enters a tunnel. On the micro-pressure wave problem, they said we won't be able to work it out on our own within ten years."

Chen Zhuo said nothing. His gaze lingered on the long string of complicated partial differential equations on the right side of the screen.

The classic Navier-Stokes equations.

In three-dimensional space, there were so many boundary conditions it made your scalp crawl.

"The old road's a dead end."

Zhang Yuan pointed at the equations.

"With the continuum fluid mechanics equations in a 3D transonic state, the nonlinear terms just explode. The few machines in our lab can't even get past a single initial boundary."

Chen Zhuo let go of the mouse and turned to look at Zhang Yuan.

"What do you want me to do?"

Zhang Yuan swallowed, a glimmer of hope in his eyes.

"Last year, didn't you build us a dimension-reduction algorithm?"

Zhang Yuan gestured with his hands.

"That discrete algebra matrix. Back then you chopped the infinities out of the time slices and calculated the 0.01-second pressure spike."

Lin Fang sat up straight too.

"Chen Zhuo, we talked it over. Since the continuous equations won't compute, can we pull the same trick again? Plug your discrete matrix into this 3D model."

"Cut the whole 3D train nose into discrete grid points," Zhang Yuan went on.

"We stop solving the continuous equations and compute matrices instead. Your algorithm keeps the error really well under control. As long as the grid is cut fine enough, we can bring a high-precision trump card to the negotiating table and smash it in their faces."

Chen Zhuo listened quietly until they had finished.

He looked at Zhang Yuan's and Lin Fang's bloodshot eyes.

He knew perfectly well what forcing a two-dimensional discrete matrix onto a three-dimensional full-scale model would run into, mathematically.

"Senior Brother, do you still have the underlying logic of my discrete matrix?" Chen Zhuo asked.

"Yes! It's all in the base library."

Zhang Yuan hurriedly tapped a few keys and pulled up a document full of code.

Chen Zhuo leaned in close to the screen and looked at it for a while.

"If it's going into a 3D model, the matrix dimensions have to be expanded. The original Jacobian matrix won't work anymore. It needs nonlinear compensation."

Chen Zhuo's tone was calm.

"Can you modify it?" Zhang Yuan asked.

"Get me paper and a pen."

Zhang Yuan immediately turned and pulled a stack of A4 sheets from the printer's paper tray beside him, then handed them to Chen Zhuo along with a pen.

Chen Zhuo laid the paper flat on the desk and pulled the cap off the pen.

He didn't write quickly. Every line of the matrix expansion had to account for the coordinate-system transformation in three-dimensional space.

Zhang Yuan and Lin Fang stood behind him, hardly daring to breathe.

He filled two pages.

Chen Zhuo stopped writing and pushed the second page in front of Zhang Yuan.

"I've raised the dimensions."

Chen Zhuo pointed at a set of formulas on it.

"I've changed the grid partition logic too. Swap these few blocks of code into the underlying program and rebuild the grid."

Zhang Yuan picked up the paper, pulled over the other computer next to Chen Zhuo, and his hands flew across the keyboard.

Lin Fang stood between the two of them, watching Zhang Yuan translate Chen Zhuo's mathematical formulas into computer code line by line.

A little over half an hour later.

Zhang Yuan hit the final Enter key.

"Translation's done. No syntax errors."

Zhang Yuan looked at the prompt on the screen.

Chen Zhuo nodded.

"Load the model data. Let's see how the machines handle it."

Zhang Yuan took a deep breath, wiped his sweaty palms on his trouser legs, moved the mouse, and clicked Run.

The fans in the four black cases instantly jumped up an octave, as if something were roaring inside them.

The image on the screen flickered.

The frozen command-line windows started refreshing, line after line of green data scrolling rapidly past.

"It's moving!"

Lin Fang's eyes lit up, her hands unconsciously clenching.

Zhang Yuan let out a long breath too and leaned back in his chair.

"I told you it'd work. For a dimensional strike, you still need the discrete matrix. As long as the machines are running, there's hope."

Chen Zhuo didn't say anything. He was watching a tiny progress-bar box in the bottom right corner of the screen.

It read "1%."

"Looks like an all-nighter."

Zhang Yuan rubbed his face.

"Lin Fang, could you buy me a few packs of cigarettes and bring some strong tea? These machines will probably be running for a while."

"Sure, I'll go."

Lin Fang grabbed her keys from the desk and hurried out of the lab.

Chen Zhuo leaned back in the folding chair, watching the progress bar that barely moved.

"Senior Brother, don't celebrate too early," Chen Zhuo said.

Zhang Yuan turned his head.

"What's wrong?"

"Going from 2D slices to a 3D model, the grid count doesn't just add up."

Chen Zhuo pointed at the densely meshed train-nose model on the screen.

"It multiplies, exponentially. When you loaded the model just now, did you look at the total grid count?"

Zhang Yuan froze for a moment. He had been in such a hurry to run it that he really hadn't looked closely at the parameters.

He quickly pulled up a background monitoring window and glanced at the statistics.

Zhang Yuan's face went stiff.

"Forty-two million grid nodes?"

Zhang Yuan's voice was a little tight.

Last year's 2D model had a hundred-odd thousand grid cells at the very most.

"Mm."

Chen Zhuo nodded.

"To guarantee fluid accuracy on a 3D curved surface, the grid can only get finer. Over forty million nodes, and every one of them needs higher-order matrix multiplication."

Zhang Yuan looked at the four servers humming beside him and suddenly didn't find the sound quite so pleasant anymore.

"It… it can finish, right?"

Zhang Yuan didn't sound very sure.

"That's up to these machines' luck," Chen Zhuo said.

Lin Fang came back with the cigarettes and tea.

The three of them settled in to wait in the basement lab.

For the first few hours, the mood was fairly relaxed. Zhang Yuan was even in the mood to chat with Chen Zhuo about games for a bit.

But as time went on, the burnt smell in the air grew heavier and heavier.

By eleven at night, the progress bar was still stuck dead at "1%."

The green data stream on the screen scrolled slower and slower, as if it had sunk into a bog.

"This shouldn't be happening."

Zhang Yuan ground out his cigarette.

"Four hours, and it hasn't even passed one percent?"

"The memory's about to blow."

Chen Zhuo pointed at the monitoring window.

Memory usage had reached 98%. The page file was frantically reading from and writing to the hard drive, and the drive light was flashing like crazy.

"Restart the monitoring program and leave only the main process."

Zhang Yuan's fingers hit the keys a little too hard.

Nobody slept that night.

The next morning.

Lin Fang went to the canteen and brought back three breakfasts. The buns and soy milk sat on the desk, slowly losing their warmth.

The progress bar still read "1%."

Zhang Yuan stood up and walked two laps around the server rack. He reached out to touch the sheet-metal casing of one of the servers and immediately jerked his hand back.

"It's scorching."

Zhang Yuan frowned.

"Turn the air conditioning all the way up."

Lin Fang got the remote and turned the temperature down as low as it would go. Cold air blew from the vents, but it couldn't keep up with the heat pouring off the machines.

Chen Zhuo sat in his chair and ate a cold bun.

He watched the screen, knowing this was already a spent arrow at the end of its flight[1].

"It's still computing."

Zhang Yuan stared at the command-line window. Every ten-odd seconds, a new line of data still popped up on the screen.

"It's slow, but as long as it doesn't throw an error and crash, we'll wait even if it takes a month."

The third day.

The smell in the lab had become pretty awful.

Zhang Yuan's eyes were swollen like peaches, and Lin Fang was dozing in her chair, wrapped in an army greatcoat.

Chen Zhuo was still sitting in that folding chair. He hadn't gone back to the dorm. Over those three days he had occasionally put his head down on the desk to sleep for a while, but he had spent most of the time watching how the data changed.

Two in the afternoon.

A long beep suddenly came from the direction of the server rack.

Right after it, as if on cue, the other three servers let out piercing alarms too.

Zhang Yuan sprang up from his chair.

Lin Fang jolted awake too, and the greatcoat slid to the floor.

The image on the middle computer froze.

The command-line window stopped scrolling, and the cursor vanished.

Then the whole screen flickered and turned a solid, hopeless blue.

A string of white English characters appeared on the blue screen.

Fatal Error: Out of Memory.

Then the fan noise of the four servers gradually died down, and the hard drive lights went out completely.

Crashed.

Zhang Yuan stood dumbly in front of the screen. His lips moved, but no sound came out.

He reached out and frantically pounded the Enter and Backspace keys, the keyboard clattering in a chaotic rattle.

The screen stayed white text on blue, with no response at all.

"Restart."

Zhang Yuan's voice was dry as he reached for the power button on the case.

"Don't press it, Senior Brother."

Chen Zhuo stood up and caught Zhang Yuan by the arm.

Zhang Yuan turned to look at Chen Zhuo, his eyes frighteningly red.

"Restart and keep computing! Pick up from the checkpoint!"

"There's no checkpoint. Out of memory. Three days of data have all turned into garbage fragments, and none of it was saved."

Chen Zhuo let go of Zhang Yuan's arm.

Beside them, Lin Fang covered her face.

Three days and three nights of grinding, running at full load, and in the end all they got for it was three words: out of memory.

Zhang Yuan slowly drew back his hand. His back bumped against the edge of the desk, and he slid down along it, dropping heavily into the folding chair.

He grabbed the cigarette pack from the desk and gave it a hard shake. It was already empty. He crushed it into a ball and hurled it at the wall.

"So that's it?"

Zhang Yuan kept his head down, his voice heavy with defeat.

"Over forty million grid cells, and even the machines can't take it. What are we supposed to negotiate with?"

The basement lab fell dead silent.

The air conditioner blew cold air, and the four machines sat silent where they stood.

Chen Zhuo walked over to the server rack and pressed his hand against the black metal casing.

Scorching.

Hot enough to make his palm sting.

It was the mark of hardware that had struggled at its absolute limit.

Chen Zhuo withdrew his hand and turned around to look at Zhang Yuan and Lin Fang, who sat there dejected.

Chen Zhuo walked over to the desk and picked up the two sheets of A4 he had written the matrix formulas on earlier. He glanced at them, then slowly tore them up and dropped them into the wastebasket.

The sound of the scraps falling was very clear in the quiet lab.

"Senior Brother," Chen Zhuo said.

Zhang Yuan didn't look up.

"The old tool is useless now."

Chen Zhuo looked at the top of Zhang Yuan's head, his tone even.

Zhang Yuan raised his head, his eyes full of red veins.

"What did you say?"

"I said the discrete matrix is useless now."

Chen Zhuo pointed at the blue-screened monitor.

"We used a two-dimensional approach to cut up three-dimensional geometry, and the grid count blew up exponentially. Even if we networked every computer room on campus together, we still couldn't finish the complex multiplication for forty million nodes."

Lin Fang got up and came to stand beside Chen Zhuo.

"Chen Zhuo, are you saying this road has completely hit its end?"

"Yes."

Chen Zhuo looked at the two of them.

"As long as we keep using a cutting approach to deal with a continuous three-dimensional manifold, computing power will always be a bottomless pit we can never fill."

He paused.

"That's the reality of it. Machines don't lie. If it can't run, it can't run."

Zhang Yuan gritted his teeth.

"So we just accept it? Take this mess to the higher-ups, tell them we can't calculate it, and let the other side name whatever price they want?"

"I didn't say we accept it."

Chen Zhuo turned and looked at the whiteboard covered in equations.

"I need to come at it differently. Let me think."

Chen Zhuo walked back to his backpack, zipped it up and slung it over his shoulder.

He glanced back at Zhang Yuan and Lin Fang, and the corner of his mouth suddenly tilted up.

It was a very faint smile, and in the oppressive lab it carried an ease that seemed out of place.

"Look on the bright side. At least the motherboard didn't burn. Go get some sleep, Senior Brother. These junk machines need a couple of days' rest too."

With that, Chen Zhuo pushed open the door and walked out.

[1] A spent arrow (强弩之末): from Sima Qian's Records of the Grand Historian (史记), where Han Anguo says the bolt of a strong crossbow, at the end of its flight, cannot pierce even thin Lu silk. It describes a force that is exhausted.

This reader needs a modern browser to display fully. If you are using one, there may be network issues.